fix: install in docker image with frozen lockfile

This commit is contained in:
Ryan Cao 2023-06-24 14:27:19 +08:00
parent 89be66d2ba
commit 8a27ba43d2
No known key found for this signature in database

View file

@ -5,7 +5,7 @@ RUN corepack prepare pnpm@latest --activate
WORKDIR /app
COPY package.json pnpm-lock.yaml .
RUN pnpm install
RUN pnpm install --frozen-lockfile
COPY . .
CMD [ "pnpm", "run", "start" ]