fix: migrate from jcabillot/phpapache to dunglas/frankenphp #22

Merged
jcabillot merged 1 commits from fix/frankenphp-migration into master 2026-06-29 08:54:50 -04:00
2 changed files with 18 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
{
auto_https off
frankenphp
}
:8080 {
root * /app/public
encode zstd br gzip
try_files {path} /index.php?{query}
php_server
}
+7 -3
View File
@@ -1,5 +1,9 @@
ARG VERSION="latest"
FROM "jcabillot/phpapache:${VERSION}"
FROM dunglas/frankenphp:1-php8.5-alpine
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