chore(docker): remove redundant composer dump-env command in build stage

This commit is contained in:
2026-07-13 12:19:06 +02:00
parent fdc7fa700d
commit 6e79337a60
+1 -2
View File
@@ -30,8 +30,7 @@ FROM deps AS build
COPY . .
RUN composer dump-autoload --classmap-authoritative --no-dev --no-interaction && \
mkdir -p var/cache var/log && \
APP_ENV=prod APP_SECRET=placeholder php bin/console cache:warmup --no-debug && \
composer dump-env prod
APP_ENV=prod APP_SECRET=placeholder php bin/console cache:warmup --no-debug
# ── final (prod) stage — no composer binary ────────────────────────────────────
FROM base AS final