Skip to content

Commit

Permalink
docker: use Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Dec 8, 2023
1 parent a574204 commit 65ba3b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# First step: build the assets
FROM docker.io/library/node:16-alpine AS builder
FROM docker.io/library/node:20-alpine AS builder

ARG VERSION
ARG COMMIT
Expand Down Expand Up @@ -27,7 +27,7 @@ RUN npm run build-data
RUN npm run build:modern

# Second step: only install runtime dependencies
FROM docker.io/library/node:16-alpine
FROM docker.io/library/node:20-alpine

WORKDIR /src

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"fuse.js": "^6.6.2",
"lodash": "^4.17.21",
"middleware-async": "^1.3.6",
"node-fetch-native": "^1.4.1",
"nuxt-start": "^2.15.8",
"query-string": "^7.1.1",
"string-hash": "^1.1.3",
Expand Down

0 comments on commit 65ba3b5

Please sign in to comment.