Changing Caddyfile location
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
03c15f6884
commit
630c80dc1b
@ -16,8 +16,6 @@ VOLUME [ "/config" ]
|
|||||||
|
|
||||||
WORKDIR /srv
|
WORKDIR /srv
|
||||||
|
|
||||||
COPY Caddyfile /etc/Caddyfile
|
|
||||||
|
|
||||||
COPY start.sh /start.sh
|
COPY start.sh /start.sh
|
||||||
RUN chmod +x /start.sh
|
RUN chmod +x /start.sh
|
||||||
|
|
||||||
|
2
start.sh
2
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
|
/usr/sbin/php-fpm7 --allow-to-run-as-root -D --fpm-config /etc/php7/php-fpm.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
caddy run --config /etc/Caddyfile --adapter caddyfile
|
caddy run --config /config/Caddyfile --adapter caddyfile
|
||||||
|
Loading…
Reference in New Issue
Block a user