Skip to content

Instantly share code, notes, and snippets.

@dzervas
Created July 18, 2019 20:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dzervas/8cafbba144096baa53a0c4829a313496 to your computer and use it in GitHub Desktop.
Caddy Docker
FROM alpine
MAINTAINER Dimitris Zervas <dzervas@dzervas.gr>
RUN apk add --update --no-cache bash curl gnupg && mkdir /caddy
RUN curl https://getcaddy.com | bash -s personal
WORKDIR /caddy
EXPOSE 80 443 2015
VOLUME [ "/caddy" ]
CMD [ "caddy" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment