use ENABLE_CONFIG_CACHE when dumping composer autoload

This commit is contained in:
Christian Winther 2024-04-06 10:06:07 +00:00
parent 858fcbf606
commit dbc5df849f
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ USER ${RUNTIME_UID}:${RUNTIME_GID}
# Generate optimized autoloader now that we have all files around
RUN set -ex \
&& composer dump-autoload --optimize
&& ENABLE_CONFIG_CACHE=false composer dump-autoload --optimize
USER root