feat: install certbot and add parameters

This commit is contained in:
2026-04-12 11:42:40 +02:00
parent 416dc2673b
commit 084e8e5ae4
6 changed files with 110 additions and 52 deletions
+9 -3
View File
@@ -2,13 +2,19 @@ FROM python:3.14-alpine
WORKDIR /app
VOLUME [ "/data" ]
VOLUME [ "/data", "/etc/letsencrypt" ]
ENV HOST=localhost
ENV PORT=8080
ENV BIND=0.0.0.0
ENV HOST=localhost
ENV DATA_DIR=/data
ENV MAX_SIZE=2000000
ENV BIND=0.0.0.0
ENV CERTBOT_CONF=/etc/letsencrypt
ENV CERTBOT_WWW=/data/.certbot
RUN apk add --no-cache \
openssl \
certbot
RUN PIP_ROOT_USER_ACTION=ignore python3 -m pip install uv