Skip to content

Commit

Permalink
Workspace: Update NodeJS version
Browse files Browse the repository at this point in the history
  • Loading branch information
winwiz1 committed May 30, 2020
1 parent 2d31c8c commit e3b552a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.web
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}

0 comments on commit e3b552a

Please sign in to comment.