Skip to content

Commit 6174249

Browse files
committed
fix: copy pnpm-workspace.yaml for catalog resolution
1 parent f1fc00b commit 6174249

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
FROM node:16-alpine as build-stage
1+
FROM node:20-alpine AS build-stage
22

33
WORKDIR /app
44
RUN corepack enable
55

6-
COPY .npmrc package.json pnpm-lock.yaml ./
6+
COPY .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml ./
77
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
88
pnpm install --frozen-lockfile
99

1010
COPY . .
1111
RUN pnpm build
1212

13-
FROM nginx:stable-alpine as production-stage
13+
FROM nginx:stable-alpine AS production-stage
1414

1515
COPY --from=build-stage /app/dist /usr/share/nginx/html
1616
EXPOSE 80

0 commit comments

Comments
 (0)