diff --git a/Dockerfile b/Dockerfile index 01d13e3..674622f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -141,7 +141,7 @@ ONBUILD RUN composer install --prefer-dist --no-scripts --no-progress --no-inter # run yarn install ONBUILD COPY *package*.json *yarn.lock .yarn* *.npmrc 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 +ONBUILD RUN [ -f yarn.lock ] && yarn install --mode=skip-build --network-timeout 1000000 # rest of app ONBUILD COPY . /app/user/ @@ -152,4 +152,4 @@ ONBUILD RUN composer dump-autoload # run yarn hooks ENV CPPFLAGS="-DPNG_ARM_NEON_OPT=0" -ONBUILD RUN [ -f yarn.lock ] && yarn install --force --no-progress || yarn rebuild +ONBUILD RUN [ -f yarn.lock ] && yarn rebuild diff --git a/README.md b/README.md index 8c87e34..ee28cce 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,5 @@ Usage: `FROM ghcr.io/robuust/heroku-php` * Nginx * PHP 8.3.x with Redis, Imagick and PCov * Composer 2 -* Yarn (classic and modern) * Node 22.x +* Yarn 4.x