From d33678b31f33b332fe2cadb2ea1d05c8bf7ca01b Mon Sep 17 00:00:00 2001 From: Bob Olde Hampsink Date: Wed, 11 Dec 2024 10:12:03 +0100 Subject: [PATCH] Validate engines --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e101c1b..9f9dc86 100644 --- a/Dockerfile +++ b/Dockerfile @@ -141,6 +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 $ yarn plugin import https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js ONBUILD RUN [ -f yarn.lock ] && yarn install --mode=skip-build --network-timeout 1000000 || true # rest of app