fix: create empty htpasswd so Caddy basic_auth can start
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Successful in 1m16s
Docker Build and Push / test (pull_request) Successful in 18s
Docker Build and Push / push (pull_request) Has been skipped

This commit is contained in:
2026-06-08 19:53:13 +00:00
parent 9783b4ac90
commit 16c858542e
+4
View File
@@ -13,4 +13,8 @@ COPY --chown=www-data:www-data pkg/files/Caddyfile /etc/frankenphp/Caddyfile
COPY --chown=www-data:www-data "../public" "/app"
# 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