From 9109e387b9f6b6986b531cf4f93bc20b2ba427c4 Mon Sep 17 00:00:00 2001 From: Matthieu Date: Tue, 7 Apr 2026 14:32:44 +0200 Subject: [PATCH] fix(ci) : set APP_ENV=prod in production Dockerfile Without APP_ENV=prod, Symfony defaults to dev and tries to load DoctrineFixturesBundle which is excluded by --no-dev. Co-Authored-By: Claude Opus 4.6 (1M context) --- infra/prod/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/prod/Dockerfile b/infra/prod/Dockerfile index 1e577f4..a831e68 100644 --- a/infra/prod/Dockerfile +++ b/infra/prod/Dockerfile @@ -58,6 +58,8 @@ RUN curl --insecure https://getcomposer.org/composer.phar -o /usr/bin/composer & WORKDIR /var/www/html +ENV APP_ENV=prod + # Copier les fichiers projet COPY . /var/www/html