Download Dockerfile from der4ik/ic-light: direct link, hf CLI and curl.
- Browser
- Download file 585 Bytes
-
https://huggingface.co/spaces/der4ik/ic-light/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/der4ik/ic-light/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/der4ik/ic-light/resolve/main/Dockerfile
585 Bytes
| FROM runpod/pytorch:2.2.1-py3.10-cuda12.1.1-devel-ubuntu22.04 | |
| WORKDIR /content | |
| ENV PATH="/home/camenduru/.local/bin:${PATH}" | |
| RUN adduser --disabled-password --gecos '' camenduru && \ | |
| adduser camenduru sudo && \ | |
| echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \ | |
| chown -R camenduru:camenduru /content && \ | |
| chmod -R 777 /content && \ | |
| chown -R camenduru:camenduru /home && \ | |
| chmod -R 777 /home | |
| COPY ./requirements.txt /content/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /content/requirements.txt | |
| COPY . . | |
| USER camenduru | |
| CMD python worker.py |