🔨 Engine ignore for updated packages

This commit is contained in:
Alicia Sykes 2024-02-24 17:33:52 +00:00
parent ded96b5578
commit 65c868693e
1 changed files with 2 additions and 2 deletions

View File

@ -16,13 +16,13 @@ WORKDIR /app
# Install app dependencies # Install app dependencies
COPY package.json yarn.lock ./ 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 over all project files and folders to the working directory
COPY . ./ COPY . ./
# Build initial app for production # Build initial app for production
RUN yarn build --mode production RUN NODE_OPTIONS=--openssl-legacy-provider yarn build --mode production
# Production stage # Production stage
FROM node:20.11.1-alpine FROM node:20.11.1-alpine