forgot to add files...
This commit is contained in:
parent
78ab3c0796
commit
fa9d990428
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user