Skip to content

Commit

Permalink
Switch to Node.js 16.x base images
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Jan 16, 2022
1 parent a7e4665 commit bc8b29b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:14 as installer
FROM node:16 as installer
COPY . /juice-shop-ctf
WORKDIR /juice-shop-ctf
RUN chown -R node .
USER node
ARG DEV_BUILD=false
RUN if [ ${DEV_BUILD} = true ]; then npm i && npm lint && npm test && npm run e2e; else npm install --production --unsafe-perm; fi

FROM node:14-alpine
FROM node:16-alpine
ARG BUILD_DATE
ARG VCS_REF
LABEL maintainer="Bjoern Kimminich <bjoern.kimminich@owasp.org>" \
Expand Down

0 comments on commit bc8b29b

Please sign in to comment.