upgrade to node 20.

This commit is contained in:
Miroslav Šedivý
2023-09-30 15:11:06 +02:00
parent 3ebbd8d48c
commit 9a63cc21c1
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#
# STAGE 1: build static web files
#
FROM node:18-bullseye-slim as frontend
FROM node:20-bookworm-slim as frontend
WORKDIR /src
#
+1 -1
View File
@@ -22,4 +22,4 @@ docker run --rm -it \
-v "${PWD}/../client:/app" \
--entrypoint="npm" \
--workdir="/app" \
node:18-bullseye-slim run lint -- --fix src/api
node:20-bookworm-slim run lint -- --fix src/api
+1 -1
View File
@@ -28,4 +28,4 @@ docker run --rm -it \
--volume "${PWD}/../client:/app" \
--entrypoint="npm" \
--workdir="/app" \
node:18-bullseye-slim run serve;
node:20-bookworm-slim run serve;
+1 -1
View File
@@ -22,4 +22,4 @@ docker run --rm -it \
--user="$(id -u):$(id -g)" \
--workdir="/app" \
--entrypoint="npm" \
node:18-bullseye-slim run serve;
node:20-bookworm-slim run serve;