Skip to content

Commit

Permalink
build: update to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Oct 17, 2024
1 parent 019b626 commit 145d9a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# base
FROM node:18-slim AS base
FROM node:20-slim AS base

RUN mkdir /app && chown -R node:node /app
WORKDIR /app
Expand Down Expand Up @@ -47,7 +47,7 @@ RUN --mount=type=secret,id=github_token \
USER node

# serve
FROM node:18-slim AS serve
FROM node:20-slim AS serve

RUN mkdir /app && chown -R node:node /app
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": "18.x",
"node": "20.x",
"yarn": "1.x"
},
"dependencies": {
Expand Down

0 comments on commit 145d9a7

Please sign in to comment.