blackbirdchess-docker-dev/caddy/Dockerfile
huadong zuo 5bcb99dfb9
add git & Chinese users friendly.
China can not access  golang.org.
2017-11-15 13:00:57 +08:00

19 lines
283 B
Docker

FROM zuohuadong/caddy:alpine
MAINTAINER Huadong Zuo <admin@zuohuadong.cn>
ARG plugins="cors"
## ARG plugins="cors cgi cloudflare azure linode"
RUN caddyplug install ${plugins}
EXPOSE 80 443 2015
WORKDIR /var/www/public
CMD ["/usr/bin/caddy", "-conf", "/etc/Caddyfile"]