From fd611009bfd867983101419d9c66da8deb50f501 Mon Sep 17 00:00:00 2001 From: Bob Olde Hampsink Date: Tue, 3 Dec 2024 12:33:15 +0100 Subject: [PATCH] Fix copying yarn files --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7341598..8c2ca91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -138,7 +138,7 @@ ENV COMPOSER_ALLOW_SUPERUSER=1 ONBUILD RUN composer install --prefer-dist --no-scripts --no-progress --no-interaction --no-autoloader # run yarn install -ONBUILD COPY *package*.json *yarn.lock *.yarn *.npmrc Dockerfile /app/user/ +ONBUILD COPY *package*.json *yarn.lock .yarn* Dockerfile /app/user/ ONBUILD RUN [ -f yarn.lock ] && yarn install --no-progress --ignore-scripts --network-timeout 1000000 || yarn install --mode=skip-build --network-timeout 1000000 # rest of app