Switch from Alpine to Debian slim base image and update package installation commands
This commit is contained in:
parent
5c620a0b63
commit
ffb7d49ea7
@ -1,7 +1,9 @@
|
|||||||
# ObsiGate — Multi-platform Docker image
|
# 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
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@ -340,7 +340,7 @@ docker-compose logs --tail=100 obsigate
|
|||||||
- **Backend** : Python 3.11 + FastAPI + Uvicorn
|
- **Backend** : Python 3.11 + FastAPI + Uvicorn
|
||||||
- **Frontend** : Vanilla JS + HTML + CSS (zéro framework, zéro build)
|
- **Frontend** : Vanilla JS + HTML + CSS (zéro framework, zéro build)
|
||||||
- **Rendu Markdown** : mistune 3.x
|
- **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)
|
- **Base de données** : Aucune (index en mémoire uniquement)
|
||||||
- **Architecture** : SPA + API REST
|
- **Architecture** : SPA + API REST
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user