Download Dockerfile from jackgaletti/propaganda-classifier-web-app: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/spaces/jackgaletti/propaganda-classifier-web-app/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jackgaletti/propaganda-classifier-web-app/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jackgaletti/propaganda-classifier-web-app/resolve/main/Dockerfile
224 Bytes
| FROM python:3.9 | |
| WORKDIR /app | |
| COPY . /app | |
| # Ensure cache directory is writable | |
| RUN mkdir -p /app/cache | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |