diff options
author | 2021-10-28 19:28:42 +0200 | |
---|---|---|
committer | 2021-10-28 22:58:42 +0530 | |
commit | 0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd (patch) | |
tree | 1418ee325d431d10e4f969f90a75e23f58b7ad6c /Dockerfile | |
parent | New translations en-US.json (French) (#2155) (diff) | |
download | ferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.tar.gz ferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.tar.zst ferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.zip |
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 <vraravam@users.noreply.github.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index a7d265e53..1b8a70da2 100644 --- a/Dockerfile +++ b/Dockerfile | |||
@@ -1,6 +1,6 @@ | |||
1 | # 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 | 1 | # 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 |
2 | 2 | ||
3 | FROM docker.io/library/node:14.18.1-buster as builder | 3 | FROM docker.io/library/node:16.13.0-buster as builder |
4 | 4 | ||
5 | ENV PATH="/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/lib:/usr/include:/usr/share" | 5 | ENV PATH="/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/lib:/usr/include:/usr/share" |
6 | 6 | ||
@@ -18,7 +18,7 @@ WORKDIR /usr/src/ferdi | |||
18 | 18 | ||
19 | RUN npm i -g pnpm@6.19.0 | 19 | RUN npm i -g pnpm@6.19.0 |
20 | 20 | ||
21 | COPY package*.json . | 21 | COPY package*.json ./ |
22 | 22 | ||
23 | RUN npm i | 23 | RUN npm i |
24 | 24 | ||