Skip to content

Commit 682440b

Browse files
committed
build: fix an incorrect parameter for composer install
1 parent 6072a3f commit 682440b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ COPY --chown=www-data:www-data ./composer.lock ./composer.lock
6666
# However, since the "laravel-backup" package is not really well suited for a docker container environment,
6767
# we drop it directly after installing the dependencies. This way we can keep it in the "composer.json" for on-host
6868
# installations, but it won't be included in the final image.
69-
RUN composer install --no-dev --no-cache --no-progress --no-interaction --verbose --no-autoloader \
70-
&& composer remove --no-dev --no-cache --no-progress --no-interaction --verbose --no-autoloader \
71-
spatie/laravel-backup \
69+
RUN composer remove --no-cache --no-progress --no-interaction --verbose --no-scripts spatie/laravel-backup \
70+
&& composer install --no-dev --no-cache --no-progress --no-interaction --verbose --no-autoloader \
7271
&& composer clear-cache
7372

7473
# Add the app sources

0 commit comments

Comments
 (0)