Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Oct 11, 2024
1 parent 98ef4ab commit 2d90232
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2d90232

Please sign in to comment.