From: Jérôme Benoit Date: Fri, 17 Apr 2020 17:21:46 +0000 (+0200) Subject: Use node.js 13 for worker threads performance reason. X-Git-Tag: v1.0.1-0~356 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9ae9812f03e6c6a68a539a9e15c6b6a50ba56755;p=e-mobility-charging-stations-simulator.git Use node.js 13 for worker threads performance reason. Signed-off-by: Jérôme Benoit --- diff --git a/docker/Dockerfile b/docker/Dockerfile index 32ef353d..e47bea8b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 diff --git a/package.json b/package.json index 83b9caf4..0f15f58b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ev-simulator", "version": "1.0.0", "engines": { - "node": "12.x.x" + "node": "13.x.x" }, "repository": { "type": "git",