Remove absolute path reference to config, use defaults in workdir /data.

0 0.9.5
Icedream 2017-04-15 21:22:18 +02:00
parent 65f5c78f4e
commit c2b222d628
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 1 deletions

View File

@ -47,5 +47,6 @@ RUN \
# so for example binding Caddy to port 2200 and telling Docker to forward port 80 to port 2200 in the container
# should be just fine.
WORKDIR /data
ENTRYPOINT ["caddy"]
CMD ["-agree","-conf=/data/Caddyfile"]
CMD ["-agree"]