File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ FROM base AS deps
66# Set the Temp Working Directory inside the container
77WORKDIR /temp-deps
88
9+ RUN npm install -g pnpm@latest-10
10+
911# copy package json
10- COPY ["package.json" , "yarn. lock" , "./" ]
11- RUN yarn install --frozen-lockfile
12+ COPY ["package.json" , "pnpm- lock.yaml " , "./" ]
13+ RUN pnpm install --frozen-lockfile
1214
1315FROM base AS builder
1416
@@ -22,8 +24,10 @@ COPY . .
2224RUN cp .env.example .env
2325COPY --from=deps /temp-deps/node_modules ./node_modules
2426
27+ RUN npm install -g pnpm@latest-10
28+
2529# prune devDependencies
26- RUN yarn build && yarn install --production --ignore-scripts --prefer-offline
30+ RUN pnpm build && pnpm install --production --ignore-scripts --prefer-offline
2731
2832# image runner app
2933FROM base AS runner
You can’t perform that action at this time.
0 commit comments