We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pnpm-workspace.yaml
1 parent f1fc00b commit 6174249Copy full SHA for 6174249
Dockerfile
@@ -1,16 +1,16 @@
1
-FROM node:16-alpine as build-stage
+FROM node:20-alpine AS build-stage
2
3
WORKDIR /app
4
RUN corepack enable
5
6
-COPY .npmrc package.json pnpm-lock.yaml ./
+COPY .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml ./
7
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
8
pnpm install --frozen-lockfile
9
10
COPY . .
11
RUN pnpm build
12
13
-FROM nginx:stable-alpine as production-stage
+FROM nginx:stable-alpine AS production-stage
14
15
COPY --from=build-stage /app/dist /usr/share/nginx/html
16
EXPOSE 80
0 commit comments