laradock/caddy/Dockerfile

18 lines
290 B
Docker

FROM zuohuadong/caddy:alpine
LABEL 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"]