2022-06-16 14:00:12 +02:00
|
|
|
FROM caddy:2.5.1-alpine
|
2021-03-15 14:17:07 +01:00
|
|
|
|
2021-09-27 13:17:41 +02:00
|
|
|
RUN apk update && apk add --no-cache jq gettext
|
|
|
|
|
|
|
|
COPY caddy_base.json /caddy_base.json
|
|
|
|
COPY entrypoint /entrypoint
|
2021-03-15 14:17:07 +01:00
|
|
|
COPY certs /certs
|
2021-09-27 13:17:41 +02:00
|
|
|
|
|
|
|
ENV ENABLE_LOCAL_HTTPS=1
|
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint"]
|
|
|
|
CMD ["caddy", "run", "--config", "/etc/caddy/config.json"]
|