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 {
21
21
}
22
22
23
23
respond 404
24
- }
24
+ }
Original file line number Diff line number Diff line change 6
6
"ext-ctype" : " *" ,
7
7
"ext-iconv" : " *" ,
8
8
"ext-mbstring" : " *" ,
9
+ "runtime/frankenphp-symfony" : " *" ,
9
10
"symfony/console" : " ^7" ,
10
11
"symfony/dotenv" : " ^7" ,
11
12
"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
11
11
COPY --link deploy/Caddyfile /etc/caddy/Caddyfile
12
12
COPY --link deploy/conf/php.ini /usr/local/etc/php/
13
13
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
+
14
17
WORKDIR /symfony
15
18
COPY --link . .
16
19
17
20
ENV FRANKENPHP_CONFIG="worker /symfony/public/runtime.php"
18
21
ENV APP_RUNTIME="Runtime\F rankenPhpSymfony\R untime"
19
22
# 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
21
24
RUN cp deploy/postgresql/.env . && composer dump-env prod && bin/console cache:clear
22
25
23
26
EXPOSE 8080
You can’t perform that action at this time.
0 commit comments