Spaces:
Paused
Paused
Download Dockerfile from Kakituken/anim-user-study: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/Kakituken/anim-user-study/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Kakituken/anim-user-study/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Kakituken/anim-user-study/resolve/main/Dockerfile
457 Bytes
| # Hugging Face Space (Docker SDK) / any container host. Data lives in /app/data (ephemeral on a free Space: | |
| # set HF_TOKEN + BACKUP_REPO secrets so it is restored on start and backed up to a private dataset). | |
| FROM python:3.11-slim | |
| RUN pip install --no-cache-dir huggingface_hub==0.36.2 | |
| WORKDIR /app | |
| COPY server.py ./ | |
| COPY static ./static | |
| RUN mkdir -p /app/data && chmod 777 /app/data | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "server.py", "--port", "7860"] | |