Download Dockerfile from Emirinth/ctfast: direct link, hf CLI and curl.
- Browser
- Download file 354 Bytes
-
https://huggingface.co/spaces/Emirinth/ctfast/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Emirinth/ctfast/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Emirinth/ctfast/resolve/main/Dockerfile
354 Bytes
| FROM python:3.13-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH \ | |
| CTFAST_ARTIFACTS=/home/user/app/artifacts | |
| WORKDIR /home/user/app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir --user -r requirements.txt | |
| COPY --chown=user . . | |
| CMD ["python", "app.py", "--port", "7860"] | |