Skip to content

Commit

Permalink
Updated Caddy to 2.7.6 (image uses Python3.11)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Dec 19, 2023
1 parent a0c0c24 commit 31c9c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reverse-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM caddy:2.6.1-alpine
FROM caddy:2.7.6-alpine
LABEL org.opencontainers.image.source https://github.com/offspot/container-images

RUN \
Expand All @@ -16,6 +16,6 @@ ENV METRICS_LOGS_DIR "/var/log/metrics"
# store python bytecode in image
RUN python3 -m compileall /src/gen-caddyfile.py && mv /src/__pycache__/*.pyc /usr/local/lib/

ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/bin/python3", "/usr/local/lib/gen-caddyfile.cpython-310.pyc"]
ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/bin/python3", "/usr/local/lib/gen-caddyfile.cpython-311.pyc"]
CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile"]

0 comments on commit 31c9c8c

Please sign in to comment.