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