diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index c30270660..881332c19 100644 --- a/Dockerfile +++ b/Dockerfile | |||
@@ -11,12 +11,16 @@ WORKDIR /usr/src/ferdi | |||
11 | COPY package*.json ./ | 11 | COPY package*.json ./ |
12 | COPY lerna.json ./ | 12 | COPY lerna.json ./ |
13 | 13 | ||
14 | RUN npm i gulp@^4.0.0 | 14 | # Note: This is being set to bypass the error with missing git repo information for the 'preval-build-info' module |
15 | RUN npx lerna bootstrap | 15 | ENV PREVAL_BUILD_INFO_PLACEHOLDERS=true |
16 | |||
17 | RUN npm i node-gyp@8.0.0 node-sass@5.0.0 \ | ||
18 | && npx lerna bootstrap | ||
16 | 19 | ||
17 | COPY . . | 20 | COPY . . |
18 | 21 | ||
19 | RUN npm run build | 22 | RUN cd recipes && npm i && npm run package && cd .. \ |
23 | && npm run build | ||
20 | 24 | ||
21 | FROM busybox | 25 | FROM busybox |
22 | 26 | ||