From fa9d990428c7c661883960581d1d074fcd4cde6a Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Sat, 23 Nov 2019 00:40:03 +0100 Subject: [PATCH] forgot to add files... --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b54c3bd..fe5272e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/