Skip to content

Commit 6aaf1cd

Browse files
committed
Switch to Node.js 20 for Docker image
1 parent 9ba068e commit 6aaf1cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM node:18 as installer
1+
FROM node:20 as installer
22
COPY . /juice-shop-ctf
33
WORKDIR /juice-shop-ctf
44
RUN chown -R node .
55
USER node
66
ARG DEV_BUILD=false
77
RUN if [ ${DEV_BUILD} = true ]; then npm i && npm lint && npm test && npm run e2e; else npm install --production --unsafe-perm; fi
88

9-
FROM node:18-alpine
9+
FROM node:20-alpine
1010
ARG BUILD_DATE
1111
ARG VCS_REF
1212
LABEL maintainer="Bjoern Kimminich <[email protected]>" \

0 commit comments

Comments
 (0)