File tree 4 files changed +2735
-2184
lines changed
4 files changed +2735
-2184
lines changed Original file line number Diff line number Diff line change 31
31
name : Install pnpm
32
32
id : pnpm-install
33
33
with :
34
- version : 8
34
+ version : 9
35
35
run_install : false
36
36
37
37
- name : Get pnpm store directory
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
3
# ---- Builder ----
4
- FROM --platform=$BUILDPLATFORM node:18-alpine3.16 AS builder
4
+ FROM --platform=$BUILDPLATFORM node:18.20.5 -alpine3.20 AS builder
5
5
6
6
RUN mkdir /build
7
7
WORKDIR /build
@@ -10,7 +10,7 @@ COPY package.json .
10
10
COPY pnpm-lock.yaml .
11
11
12
12
RUN apk add --update --no-cache git
13
- RUN npm install -g pnpm@8
13
+ RUN npm install -g pnpm@9
14
14
15
15
RUN pnpm install --frozen-lockfile
16
16
@@ -19,7 +19,7 @@ RUN pnpm run generate
19
19
RUN pnpm run build
20
20
21
21
# ---- Dependencies ----
22
- FROM --platform=$BUILDPLATFORM node:18-alpine3.16 AS deps
22
+ FROM --platform=$BUILDPLATFORM node:18.20.5 -alpine3.20 AS deps
23
23
24
24
WORKDIR /deps
25
25
@@ -28,16 +28,16 @@ COPY pnpm-lock.yaml .
28
28
COPY ./prisma .
29
29
30
30
RUN apk add --update --no-cache git
31
- RUN npm install -g pnpm@8
31
+ RUN npm install -g pnpm@9
32
32
33
33
RUN pnpm install --frozen-lockfile --prod --no-optional
34
34
RUN pnpm dlx prisma generate
35
35
36
36
# ---- Runner ----
37
- FROM --platform=$BUILDPLATFORM node:18-alpine3.16
37
+ FROM --platform=$BUILDPLATFORM node:18.20.5 -alpine3.20
38
38
39
39
RUN apk add --update --no-cache dumb-init git
40
- RUN npm install -g pnpm@8
40
+ RUN npm install -g pnpm@9
41
41
42
42
WORKDIR /app
43
43
Original file line number Diff line number Diff line change 7
7
8
8
"url" : " https://snazzah.com/"
9
9
},
10
+ "packageManager" :
" [email protected] " ,
10
11
"scripts" : {
11
12
"dev" : " next dev" ,
12
13
"build" : " next build" ,
You can’t perform that action at this time.
0 commit comments