remove cache clear
Some checks failed
Publish Docker Image / docker (push) Has been cancelled

This commit is contained in:
Lee 2023-10-15 02:00:26 +01:00
parent 83616667bb
commit 556f7b4b4d

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 install --production --silent && pnpm cache clean --force
RUN pnpm install --production --silent
# Opt out of Next.js telemetry
RUN npx next telemetry disable