forked from jcgruenhage/docker-caddy
move Caddyfile, so that it can be in a volume. when using volumes and not bind mounts one can not simply mount a whole directory, after this change mounting /etc/caddy works as intended
5 lines
122 B
Docker
5 lines
122 B
Docker
FROM docker.jcg.re/base-caddy
|
|
RUN apk add --no-cache bash
|
|
ADD root /
|
|
EXPOSE 2015 80 443
|
|
VOLUME ["/etc/caddy", "/var/www"]
|