Skip to content

Commit

Permalink
Merge pull request #1241 from DFE-Digital/cshnimble-patch-2
Browse files Browse the repository at this point in the history
Update Dockerfile to node 18.20.x
  • Loading branch information
cshnimble authored Jun 28, 2024
2 parents 40bbb1b + 73493b5 commit bb61485
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.event.inputs.environment }}

env:
NODE_VERSION: 16.x

jobs:
set-env:
name: Determine environment
Expand Down
2 changes: 1 addition & 1 deletion ConcernsCaseWork/ConcernsCaseWork/wwwroot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"engines": {
"node": ">=14.0.0 <17.0.0"
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run build:assets && npm run build:frontend --env.NODE_ENV=production && npm run build:sass-migrator",
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Stage 1
ARG ASPNET_IMAGE_TAG=8.0-bookworm-slim
ARG NODEJS_IMAGE_TAG=16-bullseye
ARG NODEJS_IMAGE_TAG=18.20-bullseye
ARG COMMIT_SHA=not-set

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS publish
Expand Down

0 comments on commit bb61485

Please sign in to comment.