File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM node:22-alpine AS build
2- RUN apk add --no-cache git
32RUN npm install -g pnpm@10.12.2
43WORKDIR /app
54COPY . .
@@ -8,14 +7,12 @@ RUN node --experimental-strip-types scripts/generate.ts \
87 && pnpm --filter @constructive-io/{{name}}-fn... build
98
109FROM node:22-alpine AS deploy
11- RUN apk add --no-cache git
1210RUN npm install -g pnpm@10.12.2
1311COPY --from=build /app /app
1412WORKDIR /app
1513RUN pnpm --filter @constructive-io/{{name}}-fn deploy --legacy /deploy --prod
1614
1715FROM node:22-alpine
18- RUN apk add --no-cache git
1916WORKDIR /app
2017COPY --from=deploy /deploy .
2118ENV NODE_ENV=production
Original file line number Diff line number Diff line change 11FROM node:22-alpine AS build
2- RUN apk add --no-cache git
32RUN npm install -g pnpm@10.12.2
43WORKDIR /app
54COPY . .
@@ -8,14 +7,12 @@ RUN node --experimental-strip-types scripts/generate.ts \
87 && pnpm --filter @constructive-io/{{name}}-fn... build
98
109FROM node:22-alpine AS deploy
11- RUN apk add --no-cache git
1210RUN npm install -g pnpm@10.12.2
1311COPY --from=build /app /app
1412WORKDIR /app
1513RUN pnpm --filter @constructive-io/{{name}}-fn deploy --legacy /deploy --prod
1614
1715FROM node:22-alpine
18- RUN apk add --no-cache git
1916WORKDIR /app
2017COPY --from=deploy /deploy .
2118ENV NODE_ENV=production
You can’t perform that action at this time.
0 commit comments