menu 1 2 3 4 5 7 operationnels

This commit is contained in:
2026-08-03 10:02:12 +02:00
parent b2c241797b
commit f37f5b1e45
25 changed files with 2373 additions and 1120 deletions
+11 -1
View File
@@ -2,7 +2,17 @@ FROM python:3.11-slim
WORKDIR /app
RUN pip install --no-cache-dir flask flask-sqlalchemy pymysql cryptography requests mysql-connector-python
# Installation des dépendances (versions fixées dans requirements.txt)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copie du code applicatif
COPY run.py .
COPY app ./app
# Utilisateur non-root pour l'exécution
RUN useradd -m appuser && chown -R appuser:appuser /app
USER appuser
EXPOSE 5000