From ffb7d49ea760a9f621101848cb311e87687b51f3 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Sat, 21 Mar 2026 10:25:54 -0400 Subject: [PATCH] Switch from Alpine to Debian slim base image and update package installation commands --- Dockerfile | 6 ++++-- README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0546fc5..df8cfbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ # ObsiGate — Multi-platform Docker image -FROM python:3.11-alpine AS base +FROM python:3.11-slim AS base -RUN apk add --no-cache gcc musl-dev libffi-dev +RUN apt-get update \ + && apt-get install -y --no-install-recommends gcc libffi-dev \ + && rm -rf /var/lib/apt/lists/* WORKDIR /app diff --git a/README.md b/README.md index 0dd10b6..69ecbd1 100644 --- a/README.md +++ b/README.md @@ -340,7 +340,7 @@ docker-compose logs --tail=100 obsigate - **Backend** : Python 3.11 + FastAPI + Uvicorn - **Frontend** : Vanilla JS + HTML + CSS (zéro framework, zéro build) - **Rendu Markdown** : mistune 3.x -- **Image Docker** : python:3.11-alpine (~200MB) +- **Image Docker** : python:3.11-slim - **Base de données** : Aucune (index en mémoire uniquement) - **Architecture** : SPA + API REST