diff --git a/Dockerfile b/Dockerfile index a0d6773..c254ded 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ # syntax=docker/dockerfile:labs FROM python:3.13.0-alpine3.20 AS certbot +COPY requirements.txt /tmp/requirements.txt RUN apk upgrade --no-cache -a && \ apk add --no-cache ca-certificates build-base libffi-dev && \ python3 -m venv /usr/local && \ - pip install --no-cache-dir certbot==2.11.0 + pip install --no-cache-dir -r /tmp/requirements.txt FROM scratch COPY --from=certbot /usr/local /usr/local