From 361c991ab317751f452342e7e8098bbf75b10434 Mon Sep 17 00:00:00 2001 From: christopherbrookes Date: Wed, 8 Sep 2021 11:05:18 +0200 Subject: [PATCH] feat(docker): increase node version in docker to 10 --- CHANGELOG.md | 1 + Dockerfile | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f6aea3f61..d2646febf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Add multi-factor authentication to dashboard login. To use one-time password, run `parse-dashboard --createMFA` or `parse-dashboard --createUser`. (Daniel Blyth) [#1624](https://github.com/parse-community/parse-dashboard/pull/1624) ## Improvements +- Docker image use now node 10 version [#1788](https://github.com/parse-community/parse-dashboard/pull/1788) - CI now pushes docker images to Docker Hub (Corey Baker) [#1781](https://github.com/parse-community/parse-dashboard/pull/1781) - Add CI check to add changelog entry (Manuel Trezza) [#1764](https://github.com/parse-community/parse-dashboard/pull/1764) - Refactor: uniform issue templates across repos (Manuel Trezza) [#1767](https://github.com/parse-community/parse-dashboard/pull/1767) diff --git a/Dockerfile b/Dockerfile index 254cb3bcde..ba4062e839 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # # --- Base Node Image --- -FROM node:8-alpine AS base +FROM node:10-alpine AS base RUN apk update; \ apk add git; @@ -23,7 +23,7 @@ RUN npm run prepare && npm run build # # --- Production Image --- -FROM node:8-alpine AS release +FROM node:10-alpine AS release WORKDIR /src # Copy production node_modules diff --git a/package.json b/package.json index 3ec396bd82..205bf7816f 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "parse-dashboard": "./bin/parse-dashboard" }, "engines": { - "node": ">=8.9" + "node": ">=10" }, "main": "Parse-Dashboard/app.js", "jest": {