Skip to content

Commit 7397d82

Browse files
committed
Allow composer superuser usage on composer install at the dockerfile
1 parent c893fef commit 7397d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ COPY public/index.php ./public/
5555

5656
RUN touch ./.env
5757

58-
RUN composer dump-autoload --optimize --classmap-authoritative --no-scripts \
58+
RUN COMPOSER_ALLOW_SUPERUSER=1 composer dump-autoload --optimize --classmap-authoritative --no-scripts \
5959
&& bin/console cache:warmup \
6060
&& chown www-data:www-data var/ -Rf
6161

0 commit comments

Comments
 (0)