couchdb
This commit is contained in:
12
couchdb-init.Dockerfile
Normal file
12
couchdb-init.Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user