fix: combines mercure with frankenphp app

This commit is contained in:
2025-05-25 15:00:32 -05:00
parent 76531f397f
commit aed3d92462
7 changed files with 89 additions and 66 deletions

View File

@@ -1,9 +1,7 @@
FROM dunglas/frankenphp
ENV FRANKENPHP_CONFIG="worker /app/public/index.php 20"
ENV SERVER_NAME=":80"
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"
RUN install-php-extensions \
pdo_mysql \
@@ -14,6 +12,7 @@ RUN install-php-extensions \
COPY . /app
COPY --chmod=775 ./bash/entrypoint.sh /usr/local/bin/docker-entrypoint
COPY docker/app/Caddyfile /etc/frankenphp/Caddyfile
ENTRYPOINT [ "/usr/local/bin/docker-entrypoint" ]