From 2d902329e93cd1200d2da8fd903e64297dc63cb5 Mon Sep 17 00:00:00 2001 From: Zoey Date: Fri, 11 Oct 2024 17:06:33 +0200 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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