diff --git a/Dockerfile b/Dockerfile index 1b8e918..d989a3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Used by Docker and Cloud Run -FROM node:12.8.1-slim as build +FROM node:12.17.0-slim as build RUN apt-get update -y && apt-get upgrade -y WORKDIR /crisp-react/server diff --git a/Dockerfile.web b/Dockerfile.web index dac4bb3..7c70177 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -1,6 +1,6 @@ # Used by Heroku -FROM node:12.8.1-slim as build +FROM node:12.17.0-slim as build RUN apt-get update -y && apt-get upgrade -y WORKDIR /crisp-react/server diff --git a/package.json b/package.json index 3e65348..d89cbd9 100644 --- a/package.json +++ b/package.json @@ -47,5 +47,8 @@ "start:prod": "cd client && yarn build:prod", "poststart:prod": "cd server && yarn start:prod", "run:prod": "cd server && yarn run:prod" + }, + "engines" : { + "node" : ">=10.17" } -} \ No newline at end of file +}