Skip to content

Commit

Permalink
Merge pull request #238 from kloudlite/docker/web
Browse files Browse the repository at this point in the history
Fixed pnpm lock issue
  • Loading branch information
tulsiojha authored Jul 10, 2024
2 parents 0c7253f + 8ea1230 commit 1d7a9be
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 1d7a9be

Please sign in to comment.