diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile index bb0381d31..7fd79fb3a 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 node:fermium-buster as builder | 3 | FROM node:14.17.3-buster as builder |
4 | 4 | ||
5 | # TODO: Need to setup a non-root user for security purposes | 5 | # TODO: Need to setup a non-root user for security purposes |
6 | 6 | ||
@@ -18,11 +18,8 @@ RUN apt-get update -y \ | |||
18 | 18 | ||
19 | WORKDIR /usr/src/ferdi | 19 | WORKDIR /usr/src/ferdi |
20 | 20 | ||
21 | COPY package*.json ./ | 21 | RUN npm i -g node-gyp@8.1.0 \ |
22 | COPY lerna.json ./ | 22 | && npm i -g lerna@4.0.0 |
23 | |||
24 | RUN npm i -g node-gyp@8.0.0 \ | ||
25 | && npm config set node_gyp "$(which node-gyp)" | ||
26 | 23 | ||
27 | COPY . . | 24 | COPY . . |
28 | 25 | ||