diff --git a/Dockerfile b/Dockerfile index fd44b5d..ac678b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,6 @@ VOLUME [ "/config" ] WORKDIR /srv -COPY Caddyfile /etc/Caddyfile - COPY start.sh /start.sh RUN chmod +x /start.sh diff --git a/start.sh b/start.sh index 4cbd512..f94d5db 100644 --- a/start.sh +++ b/start.sh @@ -4,4 +4,4 @@ if [ -f "/usr/sbin/php-fpm7" ]; then /usr/sbin/php-fpm7 --allow-to-run-as-root -D --fpm-config /etc/php7/php-fpm.conf fi -caddy run --config /etc/Caddyfile --adapter caddyfile +caddy run --config /config/Caddyfile --adapter caddyfile