Actualiser Dockerfile
This commit is contained in:
@@ -2,7 +2,7 @@ FROM python:3.10-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Installer les dépendances système nécessaires pour Docker et le projet
|
# Installer les dépendances système nécessaires
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
@@ -22,5 +22,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
# Exposer le port de l'application
|
# Exposer le port de l'application
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Démarrer l'application
|
# Commande de démarrage correcte selon la documentation
|
||||||
CMD ["python", "app.py"]
|
CMD ["python", "src/main.py"]
|
||||||
Reference in New Issue
Block a user