diff --git a/docker/caddy/Dockerfile b/docker/caddy/Dockerfile index f29ba72..8c5c6c0 100644 --- a/docker/caddy/Dockerfile +++ b/docker/caddy/Dockerfile @@ -39,4 +39,4 @@ EXPOSE 443 EXPOSE 2015 ENV TZ=Asia/Shanghai -CMD [ "/usr/bin/caddy", "-conf", "/etc/caddy/Caddyfile", "-agree=$ACME_AGREE" ] +CMD [ "/usr/bin/caddy", "--conf", "/etc/caddy/Caddyfile", "--agree=$ACME_AGREE" ] diff --git a/docker/caddy/Dockerfile.architecture b/docker/caddy/Dockerfile.architecture index f7fe7ab..132053e 100644 --- a/docker/caddy/Dockerfile.architecture +++ b/docker/caddy/Dockerfile.architecture @@ -40,4 +40,4 @@ EXPOSE 443 EXPOSE 2015 ENV TZ=Asia/Shanghai -CMD [ "/usr/bin/caddy", "-conf", "/etc/caddy/Caddyfile", "-agree=$ACME_AGREE" ] +CMD [ "/usr/bin/caddy", "--conf", "/etc/caddy/Caddyfile", "--agree=$ACME_AGREE" ]