Created
July 7, 2016 14:11
-
-
Save r1w1s1/f1ce4a1622a97f85733fad9a9abe2bd9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.4 | |
MAINTAINER Ricardson Williams <[email protected]> | |
RUN \ | |
apk add --no-cache \ | |
tar \ | |
which \ | |
bash \ | |
curl \ | |
&& curl https://getcaddy.com | bash | |
VOLUME /srv | |
WORKDIR /srv | |
ADD Caddyfile /etc/Caddyfile | |
ADD index.html /srv/index.html | |
EXPOSE 80 | |
ENTRYPOINT ["/usr/local/bin/caddy"] | |
CMD ["--conf", "/etc/Caddyfile"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment