Skip to content

Instantly share code, notes, and snippets.

@dzervas
Created July 18, 2019 20:48
Show Gist options
  • Save dzervas/8cafbba144096baa53a0c4829a313496 to your computer and use it in GitHub Desktop.
Save dzervas/8cafbba144096baa53a0c4829a313496 to your computer and use it in GitHub Desktop.
Caddy Docker
FROM alpine
MAINTAINER Dimitris Zervas <[email protected]>
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