fix: create empty htpasswd so Caddy basic_auth can start
This commit is contained in:
@@ -13,4 +13,8 @@ COPY --chown=www-data:www-data pkg/files/Caddyfile /etc/frankenphp/Caddyfile
|
|||||||
COPY --chown=www-data:www-data "../public" "/app"
|
COPY --chown=www-data:www-data "../public" "/app"
|
||||||
# TODO: php.ini
|
# TODO: php.ini
|
||||||
|
|
||||||
|
# Caddyfile imports this file via basic_auth (it can be empty, file just must exist)
|
||||||
|
RUN touch /etc/frankenphp/htpasswd && \
|
||||||
|
chown www-data:www-data /etc/frankenphp/htpasswd
|
||||||
|
|
||||||
USER www-data
|
USER www-data
|
||||||
|
|||||||
Reference in New Issue
Block a user