forgot to add files...

This commit is contained in:
Nils Stinnesbeck 2019-11-23 00:40:03 +01:00
parent 78ab3c0796
commit fa9d990428
Signed by: nils
GPG Key ID: 86D4882C6C6CA48B

View File

@ -1,12 +1,13 @@
# builder
FROM node:12.12.0-stretch as builder
COPY . /mesh
WORKDIR /mesh
# show versions
RUN node --version && npm --version && yarn --version
# install gulp
RUN npm i gulp-cli
RUN npm i gulp
# run yarn for prerequisits
RUN ls -alh
@ -15,7 +16,6 @@ RUN yarn
# run gulp to build app
RUN gulp
# build docker container
FROM nginx:1.17.6-alpine as meshviewer
COPY --from=builder /drone/src/build /usr/share/nginx/html/
COPY --from=builder /mesh/build /usr/share/nginx/html/