From 4176b3352c947d1becf0769d5f204558c40028c7 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 10 Nov 2023 03:21:46 +0900 Subject: [PATCH] fix: don't use lockfile in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c38603ed..ce27b7d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ COPY packages/backend/native-utils/npm/linux-x64-musl/package.json packages/back COPY packages/backend/native-utils/npm/linux-arm64-musl/package.json packages/backend/native-utils/npm/linux-arm64-musl/package.json # Configure pnpm, and install dev mode dependencies for compilation -RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm i --frozen-lockfile +RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm i # Copy in the rest of the native-utils rust files COPY packages/backend/native-utils packages/backend/native-utils/ @@ -50,7 +50,7 @@ RUN bash -c 'NEW_COMMIT=$(git rev-parse --short HEAD) && sed -i -r "s/\"version\ RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build && pnpm run gulp" # Trim down the dependencies to only those for production -RUN pnpm i --prod --frozen-lockfile +RUN pnpm i --prod ## Runtime container FROM node:20