Trafic_Paris / Dockerfile
tyriaa
Initial deployment
1bebf37
raw
history blame
417 Bytes
# Utiliser une image Python officielle
FROM python:3.9-slim
# Définir le répertoire de travail
WORKDIR /app
# Copier les fichiers de dépendances
COPY requirements.txt .
# Installer les dépendances
RUN pip install --no-cache-dir -r requirements.txt
# Copier le reste du code
COPY . .
# Exposer le port
EXPOSE 7860
# Commande pour démarrer l'application
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]