docker-caddy/Dockerfile
Jan Christian Grünhage 7431af5d95
All checks were successful
the build was successful
chore: move Caddyfile from /etc to /etc/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
2018-02-19 16:44:07 +01:00

6 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"]