Skip to content

Commit

Permalink
chore(deps): update node.js to v20 (#134)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 31, 2023
1 parent f6d3ef2 commit 498575d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

# ---- Builder ----
FROM --platform=$BUILDPLATFORM node:18-alpine3.16 AS builder
FROM --platform=$BUILDPLATFORM node:20-alpine3.16 AS builder

RUN mkdir /build
WORKDIR /build
Expand All @@ -19,7 +19,7 @@ RUN pnpm run generate
RUN pnpm run build

# ---- Dependencies ----
FROM --platform=$BUILDPLATFORM node:18-alpine3.16 AS deps
FROM --platform=$BUILDPLATFORM node:20-alpine3.16 AS deps

WORKDIR /deps

Expand All @@ -34,7 +34,7 @@ RUN pnpm install --frozen-lockfile --prod --no-optional
RUN pnpm dlx prisma generate

# ---- Runner ----
FROM --platform=$BUILDPLATFORM node:18-alpine3.16
FROM --platform=$BUILDPLATFORM node:20-alpine3.16

RUN apk add --update --no-cache dumb-init git
RUN npm install -g pnpm@8
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@types/cron": "2.0.1",
"@types/ioredis": "4.28.10",
"@types/node": "18.18.3",
"@types/node": "20.8.10",
"eslint": "8.52.0",
"eslint-config-snazzah": "1.2.1",
"prisma": "5.3.1",
Expand Down
24 changes: 15 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 498575d

Please sign in to comment.