fix: migrate from jcabillot/phpapache to dunglas/frankenphp

This commit is contained in:
Sagent
2026-06-29 12:32:50 +00:00
parent 7a4dcc8f6d
commit c32be8114f
2 changed files with 18 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
{
auto_https off
frankenphp
}
:80 {
root * /app/public
encode zstd br gzip
php_server
file_server
}
+7 -3
View File
@@ -1,5 +1,9 @@
ARG VERSION="latest" FROM dunglas/frankenphp:1-php8.5-alpine
FROM "jcabillot/phpapache:${VERSION}"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
COPY "root" "/var/www/html" WORKDIR /app
COPY Caddyfile /etc/frankenphp/Caddyfile
COPY --chown=www-data:www-data root /app/public
USER www-data