From 65c868693e8581767330ca1b7a38a01352270d9e Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 24 Feb 2024 17:33:52 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Engine=20ignore=20for=20updated?= =?UTF-8?q?=20packages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b779505..b7b03349 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,13 +16,13 @@ WORKDIR /app # Install app dependencies COPY package.json yarn.lock ./ -RUN yarn install --frozen-lockfile --network-timeout 1000000 +RUN yarn install --ignore-engines --frozen-lockfile --network-timeout 1000000 # Copy over all project files and folders to the working directory COPY . ./ # Build initial app for production -RUN yarn build --mode production +RUN NODE_OPTIONS=--openssl-legacy-provider yarn build --mode production # Production stage FROM node:20.11.1-alpine