diff --git a/Dockerfile b/Dockerfile index 324ed45f..d6287965 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Package the Node.js project into a single binary -FROM --platform=${TARGETPLATFORM:-linux/amd64} node:16.17.0-alpine3.16 as builder +FROM --platform=${TARGETPLATFORM:-linux/amd64} node:20.2.0-alpine3.16 as builder # Workaround: https://github.com/nodejs/docker-node/issues/813#issuecomment-407339011 # Error: could not get uid/gid diff --git a/test/Dockerfile b/test/Dockerfile index 671e798d..aad2d799 100644 --- a/test/Dockerfile +++ b/test/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.16.0-bullseye-slim +FROM node:20.4.0-bullseye-slim RUN addgroup --gid 1001 asciidoc && adduser --disabled-password --ingroup asciidoc -u 1001 asciidoc