From 1d43ea6f60c8393911a7084468d15ad8e170e0db Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 19 Aug 2025 14:25:43 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 94441b57e..caada8f92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,7 +83,7 @@ COPY --link frankenphp/conf.d/20-app.prod.ini $PHP_INI_DIR/app.conf.d/ # prevent the reinstallation of vendors at every changes in the source code COPY --link composer.* symfony.* ./ RUN set -eux; \ - composer install --no-cache --prefer-dist --no-dev --no-autoloader --no-scripts --no-progress + composer install --no-cache --prefer-dist --no-dev --no-autoloader --classmap-authoritative --no-scripts --no-progress # copy sources COPY --link . ./ @@ -91,7 +91,6 @@ RUN rm -Rf frankenphp/ RUN set -eux; \ mkdir -p var/cache var/log; \ - composer dump-autoload --classmap-authoritative --no-dev; \ composer dump-env prod; \ composer run-script --no-dev post-install-cmd; \ chmod +x bin/console; sync;