Spaces:
Runtime error
Runtime error
Download Dockerfile from Dama12/priority_prediction: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/spaces/Dama12/priority_prediction/resolve/431efc2313841dbdde2f714d8e1f97f715651110/Dockerfile
- Command line
-
hf download hf://spaces/Dama12/priority_prediction@431efc2313841dbdde2f714d8e1f97f715651110/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Dama12/priority_prediction/resolve/431efc2313841dbdde2f714d8e1f97f715651110/Dockerfile
393 Bytes
| # Utiliser une image de base officielle de Python | |
| FROM python:3.9-slim | |
| # Définir le répertoire de travail dans le conteneur | |
| WORKDIR /app | |
| # Copier le code dans le conteneur | |
| COPY . /app | |
| # Installer les dépendances | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Exposer le port sur lequel l'application va tourner | |
| EXPOSE 5000 | |
| # Démarrer l'application | |
| CMD ["python", "allinone.py"] | |