Update Dockerfile

This commit is contained in:
treturner 2023-08-19 08:04:20 -04:00
parent 714a2664b7
commit ce21a23b09

View file

@ -3,7 +3,7 @@ FROM node:18-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json yarn.lock ./
COPY package.json pnpm-lock.yaml ./
# Add yarn timeout to handle slow CPU when Github Actions
RUN yarn config set network-timeout 300000
RUN yarn install --frozen-lockfile