mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-05 07:00:14 +02:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 29e093575e | |||
| ac46f380cb | |||
| b281a199d3 |
@@ -87,12 +87,10 @@ FROM frankenphp_base AS frankenphp_prod
|
|||||||
RUN rm -rf /var/lib/apt/lists/*
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV APP_ENV=prod
|
ENV APP_ENV=prod
|
||||||
ENV FRANKENPHP_CONFIG="import worker.Caddyfile"
|
|
||||||
|
|
||||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||||
|
|
||||||
COPY --link frankenphp/conf.d/20-app.prod.ini $PHP_INI_DIR/app.conf.d/
|
COPY --link frankenphp/conf.d/20-app.prod.ini $PHP_INI_DIR/app.conf.d/
|
||||||
COPY --link frankenphp/worker.Caddyfile /etc/caddy/worker.Caddyfile
|
|
||||||
|
|
||||||
# prevent the reinstallation of vendors at every changes in the source code
|
# prevent the reinstallation of vendors at every changes in the source code
|
||||||
COPY --link composer.* symfony.* ./
|
COPY --link composer.* symfony.* ./
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ when@prod:
|
|||||||
ignore_exceptions:
|
ignore_exceptions:
|
||||||
- 'Symfony\Component\ErrorHandler\Error\FatalError'
|
- 'Symfony\Component\ErrorHandler\Error\FatalError'
|
||||||
- 'Symfony\Component\Debug\Exception\FatalErrorException'
|
- 'Symfony\Component\Debug\Exception\FatalErrorException'
|
||||||
|
- 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException'
|
||||||
#
|
#
|
||||||
# # If you are using Monolog, you also need this additional configuration to log the errors correctly:
|
# # If you are using Monolog, you also need this additional configuration to log the errors correctly:
|
||||||
# # https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/
|
# # https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
worker {
|
|
||||||
file ./public/index.php
|
|
||||||
env APP_RUNTIME Runtime\FrankenPhpSymfony\Runtime
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user