From 2ee728ad910cd0e2e6f5a7d2bb4a26b9e53a395c Mon Sep 17 00:00:00 2001 From: Bob Olde Hampsink Date: Wed, 27 Nov 2024 16:04:18 +0100 Subject: [PATCH] Use yarn rebuild --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ce276d3..d5cea77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -153,4 +153,4 @@ ONBUILD RUN composer dump-autoload # run npm hooks ENV CPPFLAGS="-DPNG_ARM_NEON_OPT=0" -ONBUILD RUN [ -f yarn.lock ] && yarn install --force --no-progress || yarn install --mode=update-lockfile || npm rebuild --no-progress +ONBUILD RUN [ -f yarn.lock ] && yarn install --force --no-progress || yarn rebuild || npm rebuild --no-progress