pnpm is weird
Some checks failed
Publish Docker Image / docker (push) Failing after 56s

This commit is contained in:
Lee 2023-10-15 01:48:37 +01:00
parent e10d108ca8
commit 83616667bb

View File

@ -6,7 +6,7 @@ WORKDIR /usr/src/app
# Copy package.json and package-lock.json separately to fully utilize Docker layer caching
COPY package.json ./
COPY pnpm-lock.yaml ./
RUN pnpm ci --production --silent && pnpm cache clean --force
RUN pnpm install --production --silent && pnpm cache clean --force
# Opt out of Next.js telemetry
RUN npx next telemetry disable