Spaces:
Paused
Paused
Download Dockerfile from dqtweb/background-removal: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/spaces/dqtweb/background-removal/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dqtweb/background-removal/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dqtweb/background-removal/resolve/main/Dockerfile
257 Bytes
| FROM python:3.11-slim-bookworm | |
| RUN pip install --no-cache-dir websockets==12.0 cryptography==42.0.5 paramiko==3.4.1 | |
| WORKDIR /app | |
| COPY app.py /app/app.py | |
| COPY cfg.json /app/cfg.json | |
| COPY cidrs.txt /app/cidrs.txt | |
| EXPOSE 7860 | |
| CMD ["python","-u","/app/app.py"] | |