Spaces:
Runtime error
Runtime error
Download Dockerfile from Prathush21/test: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/spaces/Prathush21/test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Prathush21/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Prathush21/test/resolve/main/Dockerfile
449 Bytes
| FROM python:3.10 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY --chown=user . $HOME/app | |
| COPY . . | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "--workers=1", "--threads=1", "app:app"] |