Spaces:
Sleeping
Sleeping
Download Dockerfile from Moha9329/Polyglot-Bot: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/spaces/Moha9329/Polyglot-Bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Moha9329/Polyglot-Bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Moha9329/Polyglot-Bot/resolve/main/Dockerfile
305 Bytes
| FROM python:3.9 | |
| # Répertoire de travail | |
| WORKDIR /code | |
| # Installation des dépendances | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copie du code | |
| COPY . . | |
| # Port pour le serveur web Flask (Keep-Alive) | |
| EXPOSE 7860 | |
| # Commande pour lancer le bot | |
| CMD ["python", "main.py"] |