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" ]