diff --git a/Dockerfile b/Dockerfile index 9f189cd..362a90b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM node:latest -RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ -WORKDIR /opt/meshviewer -RUN npm install gulp -D -RUN yarn -RUN yarn global add gulp-cli -RUN gulp - +#RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ +#WORKDIR /opt/meshviewer +#RUN npm install gulp -D +#RUN yarn +#RUN yarn global add gulp-cli +#RUN gulp +COPY start.sh /start.sh VOLUME /opt/meshviewer/data -ENTRYPOINT ["top"] \ No newline at end of file +CMD ["/start.sh"] \ No newline at end of file diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..9d109df --- /dev/null +++ b/start.sh @@ -0,0 +1,7 @@ +#!/bin/sh +git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ +cd /opt/meshviewer +npm install gulp -D +yarn +yarn global add gulp-cli +gulp \ No newline at end of file