Merge pull request 'chore(docker): remove redundant composer dump-env command in build stage' (#16) from patch-2-gitea-registry into main

Reviewed-on: #16
This commit was merged in pull request #16.
This commit is contained in:
2026-07-13 10:23:14 +00:00
+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