Spaces:
Running
Running
Download Dockerfile from Adnaplays87/Upload_Files_BackUp: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/Adnaplays87/Upload_Files_BackUp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Adnaplays87/Upload_Files_BackUp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Adnaplays87/Upload_Files_BackUp/resolve/main/Dockerfile
317 Bytes
| FROM python:3.11-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH PYTHONUNBUFFERED=1 | |
| WORKDIR /home/user/app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| COPY --chown=user . . | |
| EXPOSE 7860 | |
| CMD ["python", "hf_launch.py"] |