File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 34
34
- name : Set up Node
35
35
uses : actions/setup-node@v4
36
36
with :
37
- node-version : ' 22.x '
38
- cache : ' pnpm'
37
+ node-version : ' 22.13.1 '
38
+ cache : ' pnpm-deps-22.13.1 '
39
39
cache-dependency-path : ./frontend/web/pnpm-lock.yaml
40
40
41
41
- name : Install dependencies
Original file line number Diff line number Diff line change @@ -7,18 +7,14 @@ FROM node:lts-alpine AS base
7
7
FROM base AS deps
8
8
WORKDIR /app
9
9
COPY package.json pnpm-lock.yaml ./
10
- RUN corepack enable && \
11
- corepack prepare
[email protected] --activate && \
12
- pnpm install --frozen-lockfile
10
+ RUN corepack enable pnpm && pnpm install --frozen-lockfile
13
11
14
12
# Stage 2: Build the application
15
13
FROM base AS builder
16
14
WORKDIR /app
17
15
COPY --from=deps /app/node_modules ./node_modules
18
16
COPY . .
19
- RUN corepack enable && \
20
- corepack prepare
[email protected] --activate && \
21
- pnpm run build
17
+ RUN corepack enable pnpm && pnpm install --frozen-lockfile
22
18
23
19
# Stage 3: Production server
24
20
FROM base AS runner
You can’t perform that action at this time.
0 commit comments