File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1313route {
1414 root * /php
1515
16- # FrankenPHP!
17- @phpFiles path *.php
18- php @phpFiles
19-
20- respond 404
21- }
16+ php_server
17+ }
Original file line number Diff line number Diff line change 66 "ext-ctype" : " *" ,
77 "ext-iconv" : " *" ,
88 "ext-mbstring" : " *" ,
9+ "runtime/frankenphp-symfony" : " *" ,
910 "symfony/console" : " ^7" ,
1011 "symfony/dotenv" : " ^7" ,
1112 "symfony/flex" : " ^2" ,
Original file line number Diff line number Diff line change @@ -12,13 +12,16 @@ COPY --from=composer/composer:latest-bin --link /composer /usr/local/bin/compose
1212COPY --link deploy/Caddyfile /etc/caddy/Caddyfile
1313COPY --link deploy/conf/php.ini /usr/local/etc/php/
1414
15+ RUN echo "opcache.preload=/symfony/var/cache/prod/App_KernelProdContainer.preload.php" >> /usr/local/etc/php/php.ini && \
16+ echo "opcache.preload_user=root" >> /usr/local/etc/php/php.ini
17+
1518WORKDIR /symfony
1619COPY --link . .
1720
1821ENV FRANKENPHP_CONFIG="worker /symfony/public/runtime.php"
1922ENV APP_RUNTIME="Runtime\F rankenPhpSymfony\R untime"
2023# ENV CADDY_DEBUG=debug
21- RUN composer require runtime/frankenphp-symfony --update -no-dev --no-scripts --quiet
24+ RUN composer install --optimize-autoloader --classmap-authoritative - -no-dev --no-scripts --quiet
2225RUN cp deploy/postgresql/.env . && composer dump-env prod && bin/console cache:clear
2326
2427EXPOSE 8080
You can’t perform that action at this time.
0 commit comments