Skip to content

Commit

Permalink
MAP-2011 update project to use node v22 (#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
GurnankCheema authored Feb 24, 2025
1 parent d35503f commit 9105f9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.15-bookworm-slim as builder
FROM node:22.12-bookworm-slim as builder

ARG BUILD_NUMBER
ARG GIT_REF
Expand All @@ -22,7 +22,7 @@ RUN CYPRESS_INSTALL_BINARY=0 npm ci --no-audit && \

RUN npm prune --production

FROM node:20.15-bookworm-slim
FROM node:22.12-bookworm-slim
LABEL maintainer="HMPPS Digital Studio <info@digital.justice.gov.uk>"

# Cache breaking
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"security_audit": "npx audit-ci --config audit-ci.json"
},
"engines": {
"node": "^20",
"node": "^22",
"npm": "^10"
},
"jest": {
Expand Down

0 comments on commit 9105f9c

Please sign in to comment.