Spaces:
Runtime error
Runtime error
Download Dockerfile from FallacyHunter/fallacy-hunter-backend: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/FallacyHunter/fallacy-hunter-backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/FallacyHunter/fallacy-hunter-backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FallacyHunter/fallacy-hunter-backend/resolve/main/Dockerfile
311 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app/ app/ | |
| COPY pipeline/ pipeline/ | |
| COPY proposed_prompts/ proposed_prompts/ | |
| ENV HF_TOKEN=$HUGGINGFACE_TOKEN | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |