diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile index 13551dad3..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 | ||
@@ -16,10 +16,9 @@ RUN apt-get update -y \ | |||
16 | 16 | ||
17 | WORKDIR /usr/src/ferdi | 17 | 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 | && npm ls -g node-gyp@8.2.0 || npm i -g node-gyp@8.2.0 | ||
21 | 20 | ||
22 | COPY package*.json . | 21 | COPY package*.json ./ |
23 | 22 | ||
24 | RUN npm i | 23 | RUN npm i |
25 | 24 | ||