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/1bd051ceeb8eb2936dfba3982e1183d2584f407c/Dockerfile
- Command line
-
hf download hf://spaces/Dama12/priority_prediction@1bd051ceeb8eb2936dfba3982e1183d2584f407c/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Dama12/priority_prediction/resolve/1bd051ceeb8eb2936dfba3982e1183d2584f407c/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"] | |