From 8ea12308f207218d3fd643fd7a1c41631dee4873 Mon Sep 17 00:00:00 2001 From: Bikash Date: Wed, 10 Jul 2024 12:18:45 +0530 Subject: [PATCH] Fixed pnpm lock issue --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02aa0db1f..43000bd3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ FROM node:20.8.1-alpine as remix WORKDIR /app COPY ./package-production.json ./package.json -RUN npm i +RUN npm i --frozen-lockfile FROM node:20.8.1-alpine as install RUN npm i -g pnpm WORKDIR /app COPY ./package.json ./package.json +COPY ./pnpm-lock.yaml ./pnpm-lock.yaml # typecheck ARG APP @@ -14,7 +15,7 @@ ENV APP=${APP} COPY ./src/generated/package.json ./src/generated/package.json COPY ./src/generated/plugin/package.json ./src/generated/plugin/package.json -RUN pnpm i -p +RUN pnpm i -p --frozen-lockfile FROM node:20.8.1-alpine as build RUN npm i -g pnpm