diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-13 21:12:39 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-15 14:13:49 +0530 |
commit | a3e68f08168aa91add5fad7277b1084fd7d9ed64 (patch) | |
tree | 86eb99ac4f79ffa8f68f7b32c7cdef6022ca3c83 /Dockerfile | |
parent | New Crowdin updates (#1412) (diff) | |
download | ferdium-app-a3e68f08168aa91add5fad7277b1084fd7d9ed64.tar.gz ferdium-app-a3e68f08168aa91add5fad7277b1084fd7d9ed64.tar.zst ferdium-app-a3e68f08168aa91add5fad7277b1084fd7d9ed64.zip |
Fixing the broken build process when building using the Dockerfile.
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 | ||