From 0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Thu, 28 Oct 2021 19:28:42 +0200 Subject: build: use node 16 and npm 8 (#2157) - change node version from 14.18.1 to 16.13.0 - change npm version from 6.14.13 to 8.1.0 - update package-lock.json to lockfileVersion 2 - use @sindresorhus/do-not-disturb instead of macos-notification-state to avoid failing CI - run ferdi build on latest macos and windows - skip husky in CI builds - move 'cld' and 'node-mac-permissions' to optionalDependency Co-authored-by: Vijay A --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index a7d265e53..1b8a70da2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Note: Before running this file, you should have already cloned the git repo + submodules on the host machine. This is used when actively developing on your local machine, but you want to build for a different architecture -FROM docker.io/library/node:14.18.1-buster as builder +FROM docker.io/library/node:16.13.0-buster as builder ENV PATH="/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/lib:/usr/include:/usr/share" @@ -18,7 +18,7 @@ WORKDIR /usr/src/ferdi RUN npm i -g pnpm@6.19.0 -COPY package*.json . +COPY package*.json ./ RUN npm i -- cgit v1.2.3-54-g00ecf