Download Dockerfile from cacodex/DRM: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/spaces/cacodex/DRM/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/cacodex/DRM/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/cacodex/DRM/resolve/main/Dockerfile
293 Bytes
| FROM python:3.13-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| WORKDIR /app | |
| COPY requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p /app/data | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"] | |