blob: 4f772c0daea39065a58798f9e737c6647082cdde (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
FROM electronuserland/builder:14 as builder
WORKDIR /usr/src/ferdi
COPY package*.json ./
COPY lerna.json ./
# Note: This is being set to bypass the error with missing git repo information for the 'preval-build-info' module
ENV PREVAL_BUILD_INFO_PLACEHOLDERS=true
RUN npm i node-gyp@8.0.0 \
&& npx lerna bootstrap
COPY . .
RUN cd recipes && npm i && npm run package && cd .. \
&& npm run build
FROM busybox
WORKDIR /ferdi
COPY --from=builder /usr/src/ferdi/out/* /ferdi/
VOLUME [ "/ferdi-out" ]
|