From a823a5f8c4c1fe4b12bf444c31b116f5bcb486f7 Mon Sep 17 00:00:00 2001 From: Willy Date: Mon, 3 Nov 2025 22:39:33 +0100 Subject: [PATCH] Add zimit-webapp/Dockerfile --- zimit-webapp/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 zimit-webapp/Dockerfile diff --git a/zimit-webapp/Dockerfile b/zimit-webapp/Dockerfile new file mode 100644 index 0000000..788392e --- /dev/null +++ b/zimit-webapp/Dockerfile @@ -0,0 +1,23 @@ +# Dockerfile +FROM python:3.13-slim + +# Installer le client Docker CLI uniquement +RUN apt-get update && \ + apt-get install -y --no-install-recommends docker-cli && \ + rm -rf /var/lib/apt/lists/* + +# Repertoire de travail +WORKDIR /app + +# Copier les ressources +COPY app.py requirements.txt ./ +COPY templates ./templates + +# Installer les dependances +RUN pip install --no-cache-dir -r requirements.txt + +# Exposer le port Flask +EXPOSE 8080 + +# Lancer le serveur +CMD ["python", "app.py"]