Download Dockerfile from rull/pyward: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/rull/pyward/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rull/pyward/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rull/pyward/resolve/main/Dockerfile
320 Bytes
| FROM python:3.10-slim | |
| RUN useradd -m -u 1000 rull | |
| USER rull | |
| ENV HOME=/home/rull \ | |
| PATH=/home/rull/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY --chown=rull . $HOME/app | |
| RUN pip install -r requirements.txt --no-cache-dir --upgrade pip | |
| CMD ["python3", "app.py"] | |
| #CMD ["proxy", "--hostname", "0.0.0.0", "--port", "7860"] |