Skip to content

Commit

Permalink
[#43] update node version in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan committed Aug 7, 2024
1 parent 44fd8d0 commit d1a4bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#### Stage 1: Build the react application
FROM node:12.4.0 as build
FROM node:18.20.4 as build

# Configure the main working directory inside the docker image.
# This is the base directory used in any further RUN, COPY, and ENTRYPOINT
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider webpack-dev-server --env env=dev",
"dev:bundleanalyzer": "yarn dev -- --env.addons=bundleanalyzer",
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production webpack --mode production --env env=prod",
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production webpack --mode production --env env=prod",
"build:bundleanalyzer": "yarn build -- --env.addons=bundleanalyzer"
},
"dependencies": {
Expand Down

0 comments on commit d1a4bda

Please sign in to comment.