Skip to content

Commit 08fa2aa

Browse files
committed
chore: update deps, dockerfile, and lint workflow
1 parent 013fb54 commit 08fa2aa

File tree

4 files changed

+2735
-2184
lines changed

4 files changed

+2735
-2184
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
name: Install pnpm
3232
id: pnpm-install
3333
with:
34-
version: 8
34+
version: 9
3535
run_install: false
3636

3737
- name: Get pnpm store directory

Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1
22

33
# ---- Builder ----
4-
FROM --platform=$BUILDPLATFORM node:18-alpine3.16 AS builder
4+
FROM --platform=$BUILDPLATFORM node:18.20.5-alpine3.20 AS builder
55

66
RUN mkdir /build
77
WORKDIR /build
@@ -10,7 +10,7 @@ COPY package.json .
1010
COPY pnpm-lock.yaml .
1111

1212
RUN apk add --update --no-cache git
13-
RUN npm install -g pnpm@8
13+
RUN npm install -g pnpm@9
1414

1515
RUN pnpm install --frozen-lockfile
1616

@@ -19,7 +19,7 @@ RUN pnpm run generate
1919
RUN pnpm run build
2020

2121
# ---- Dependencies ----
22-
FROM --platform=$BUILDPLATFORM node:18-alpine3.16 AS deps
22+
FROM --platform=$BUILDPLATFORM node:18.20.5-alpine3.20 AS deps
2323

2424
WORKDIR /deps
2525

@@ -28,16 +28,16 @@ COPY pnpm-lock.yaml .
2828
COPY ./prisma .
2929

3030
RUN apk add --update --no-cache git
31-
RUN npm install -g pnpm@8
31+
RUN npm install -g pnpm@9
3232

3333
RUN pnpm install --frozen-lockfile --prod --no-optional
3434
RUN pnpm dlx prisma generate
3535

3636
# ---- Runner ----
37-
FROM --platform=$BUILDPLATFORM node:18-alpine3.16
37+
FROM --platform=$BUILDPLATFORM node:18.20.5-alpine3.20
3838

3939
RUN apk add --update --no-cache dumb-init git
40-
RUN npm install -g pnpm@8
40+
RUN npm install -g pnpm@9
4141

4242
WORKDIR /app
4343

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"email": "[email protected]",
88
"url": "https://snazzah.com/"
99
},
10+
"packageManager": "[email protected]",
1011
"scripts": {
1112
"dev": "next dev",
1213
"build": "next build",

0 commit comments

Comments
 (0)