Skip to content

Commit

Permalink
Fixed pnpm lock issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tulsiojha committed Jul 10, 2024
1 parent 0c7253f commit 8ea1230
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
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
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
Expand Down

0 comments on commit 8ea1230

Please sign in to comment.