ADD file:fe1f09249227e2da2089afb4d07e16cbf832eeb804120074acd2b8192876cd28 in / |
CMD ["/bin/sh"] |
LABEL maintainer=Fabian Stamm <dev@fabianstamm.de> |
ENV ACME_AGREE=true |
ENV EMAIL= |
/bin/sh -c apk add --no-cache ca-certificates git mailcap openssh-client tzdata bash curl |
/bin/sh -c curl https://getcaddy.com | bash -s personal http.cors,http.ratelimit,tls.dns.cloudflare |
/bin/sh -c caddy -version |
/bin/sh -c caddy -plugins |
EXPOSE 443 80 |
VOLUME [/root/.caddy /src] |
WORKDIR /srv |
CMD ["caddy" "--conf" "/etc/Caddyfile" "--log" "stdout" "--agree=$ACME_AGREE" "--email=$EMAIL"] |