Last active
August 29, 2016 21:33
-
-
Save r1w1s1/08fd69f931b13953cdc60076ee6e848a 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 centos:7 | |
MAINTAINER Ricardson Williams <[email protected]> | |
RUN \ | |
yum -y update \ | |
&& yum -y install \ | |
tar \ | |
which \ | |
&& yum clean all \ | |
&& 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