INFRA-1586 | use new node image in docker file

This commit is contained in:
dhruvjoshi
2024-02-12 15:39:09 +05:30
parent f84d4ca903
commit f69b22c5cf
3 changed files with 4 additions and 4 deletions

2
.nvmrc
View File

@@ -1 +1 @@
18.19.0
18.15.0

View File

@@ -1,4 +1,4 @@
FROM 193044292705.dkr.ecr.ap-south-1.amazonaws.com/common/node:14-alpine as build
FROM 193044292705.dkr.ecr.ap-south-1.amazonaws.com/common/node:18.15.0-alpine3.16 as build
WORKDIR /app
COPY . /app
RUN yarn install

View File

@@ -4,7 +4,7 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"webpack-build": "webpack --verbose --config webpack.config.js src",
"webpack-build": "webpack --mode development --config webpack.config.js",
"lint": "eslint \"**/?*.{ts,tsx,js}\"",
"lint:fix": "eslint --fix \"**/?*.{ts,tsx,js}\"",
"lint:quiet": "yarn lint --quiet",
@@ -92,6 +92,6 @@
},
"engines": {
"npm": ">=10.2.3",
"node": ">=18.19.0"
"node": ">=18.15.0"
}
}