blackbirdchess-docker-dev/caddy/Dockerfile

18 lines
299 B
Docker
Raw Normal View History

FROM zuohuadong/caddy:alpine
2018-03-16 10:34:47 +01:00
LABEL maintainer="Huadong Zuo <admin@zuohuadong.cn>"
2016-07-20 04:51:20 +02:00
ARG plugins="cors"
## ARG plugins="cors cgi cloudflare azure linode"
2016-07-20 04:51:20 +02:00
RUN caddyplug install ${plugins}
2016-07-20 04:51:20 +02:00
EXPOSE 80 443 2015
2016-07-25 06:31:31 +02:00
2017-05-01 12:36:31 +02:00
WORKDIR /var/www/public
2016-07-20 04:51:20 +02:00
CMD ["/usr/bin/caddy", "-conf", "/etc/Caddyfile","-agree"]