This commit is contained in:
2025-10-15 07:30:31 +02:00
parent 6961caa2af
commit 7f58f12b8d
7 changed files with 75 additions and 4 deletions

12
couchdb-init.Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.13-slim
# Installer requests une seule fois dans l'image
RUN python3 -m pip install --no-cache-dir requests
WORKDIR /app
# Copier le script Python
COPY couchdb-init.py /app/
# Lancer le script par défaut
ENTRYPOINT ["python3", "couchdb-init.py"]