From c2b222d6287bc4cc7c117c8f201f3ba0adfc6318 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sat, 15 Apr 2017 21:22:18 +0200 Subject: [PATCH] Remove absolute path reference to config, use defaults in workdir /data. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 10eef84..4bf3758 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]