We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a4816 commit 4b261afCopy full SHA for 4b261af
Dockerfile
@@ -172,11 +172,16 @@ ENV APP_ENV=prod
172
ENV APP_DEBUG=0
173
#ENV FRANKENPHP_CONFIG="worker ./public/index.php"
174
175
+USER www-data
176
+
177
# Warmup du cache Symfony
178
RUN php bin/console cache:clear --env=prod --no-debug || true \
179
&& php bin/console cache:warmup --env=prod --no-debug || true
180
-USER www-data
181
+# NE PAS faire de cache warmup dans le Dockerfile
182
+# Le cache sera créé au premier lancement avec les bonnes permissions
183
+# RUN php bin/console cache:clear --env=prod --no-debug || true
184
+# RUN php bin/console cache:warmup --env=prod --no-debug || true
185
186
EXPOSE 80
187
0 commit comments