fix: combines mercure with frankenphp app
This commit is contained in:
@@ -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" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user