This commit is contained in:
stebifan 2018-04-08 11:08:04 +02:00
parent 0af788c6a8
commit 41359dd730

View File

@ -1,12 +1,12 @@
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
COPY start.sh /start.sh
RUN chmod +x /start.sh
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
#RUN chmod +x /start.sh
VOLUME /opt/meshviewer/data
CMD ["/start.sh"]
#CMD ["/start.sh"]