Download Dockerfile from AleRive/chat_due: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/AleRive/chat_due/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AleRive/chat_due/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AleRive/chat_due/resolve/main/Dockerfile
282 Bytes
| FROM python:3.9 | |
| # Imposta la directory di lavoro | |
| WORKDIR /app | |
| # Copia tutti i file | |
| COPY . /app | |
| # Installa le dipendenze | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Espone la porta del server | |
| EXPOSE 7860 | |
| # Comando per avviare il server FastAPI | |
| CMD ["python", "app.py"] | |