Use node.js 13 for worker threads performance reason.
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2020 17:21:46 +0000 (19:21 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2020 17:21:46 +0000 (19:21 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
docker/Dockerfile
package.json

index 32ef353daf68a062e96b3fa9c108f0a472e6330c..e47bea8b399b96570c73ee0e5b66243c229c0bac 100644 (file)
@@ -1,4 +1,4 @@
-FROM node:lts-alpine as builder
+FROM node:alpine as builder
 
 WORKDIR /usr/builder
 
@@ -7,7 +7,7 @@ COPY package.json package-lock.json ./
 RUN npm set progress=false && npm config set depth 0 && npm cache clean --force
 RUN npm install
 
-FROM node:lts-alpine
+FROM node:alpine
 
 WORKDIR /usr/app
 
index 83b9caf4642590d5d24797cc780715e2db81b5db..0f15f58b88a78c7061bd4c797b92ba5e261a31b8 100644 (file)
@@ -2,7 +2,7 @@
   "name": "ev-simulator",
   "version": "1.0.0",
   "engines": {
-    "node": "12.x.x"
+    "node": "13.x.x"
   },
   "repository": {
     "type": "git",