File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ route {
2121 }
2222
2323 respond 404
24- }
24+ }
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 @@ -11,13 +11,16 @@ COPY --from=composer/composer:latest-bin --link /composer /usr/local/bin/compose
1111COPY --link deploy/Caddyfile /etc/caddy/Caddyfile
1212COPY --link deploy/conf/php.ini /usr/local/etc/php/
1313
14+ RUN echo "opcache.preload=/symfony/var/cache/prod/App_KernelProdContainer.preload.php" >> /usr/local/etc/php/php.ini && \
15+ echo "opcache.preload_user=root" >> /usr/local/etc/php/php.ini
16+
1417WORKDIR /symfony
1518COPY --link . .
1619
1720ENV FRANKENPHP_CONFIG="worker /symfony/public/runtime.php"
1821ENV APP_RUNTIME="Runtime\F rankenPhpSymfony\R untime"
1922# ENV CADDY_DEBUG=debug
20- RUN composer require runtime/frankenphp-symfony --update -no-dev --no-scripts --quiet
23+ RUN composer install --optimize-autoloader --classmap-authoritative - -no-dev --no-scripts --quiet
2124RUN cp deploy/postgresql/.env . && composer dump-env prod && bin/console cache:clear
2225
2326EXPOSE 8080
You can’t perform that action at this time.
0 commit comments