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

Merged
haylan merged 1 commits from patch-2-gitea-registry into main 2026-07-13 10:23:14 +00:00
Showing only changes of commit 6e79337a60 - Show all commits
+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