aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
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
3FROM node:fermium-buster as builder 3FROM 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
19WORKDIR /usr/src/ferdi 19WORKDIR /usr/src/ferdi
20 20
21COPY package*.json ./ 21RUN npm i -g node-gyp@8.1.0 \
22COPY lerna.json ./ 22 && npm i -g lerna@4.0.0
23
24RUN npm i -g node-gyp@8.0.0 \
25 && npm config set node_gyp "$(which node-gyp)"
26 23
27COPY . . 24COPY . .
28 25