fix: update Dockerfile

This commit is contained in:
thehrz 2024-08-16 23:41:27 +08:00
parent 00cb87bdc2
commit b1f389be2e
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -3,7 +3,7 @@ FROM node:20-alpine as build-stage
WORKDIR /app
RUN corepack enable
COPY .npmrc package.json pnpm-lock.yaml ./
COPY package.json pnpm-lock.yaml ./
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
pnpm install --frozen-lockfile