meshviewer-docker/Dockerfile

20 lines
640 B
Docker
Raw Normal View History

2018-04-06 19:40:51 +00:00
FROM node:latest
2018-04-01 13:01:54 +00:00
2018-04-01 15:13:05 +00:00
#Install curl
2018-04-06 19:40:51 +00:00
#RUN apt-get update && apt-get install -y curl apt-transport-https
#RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
#RUN apt-get install -y nodejs
2018-04-01 15:13:05 +00:00
2018-04-01 13:01:54 +00:00
# Install yarn
2018-04-06 19:40:51 +00:00
#RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
#RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
#RUN apt-get update && apt-get install -y yarn git
2018-04-01 13:01:54 +00:00
RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ && cd /opt/meshviewer
2018-04-06 19:40:51 +00:00
WORKDIR /opt/meshviewer
RUN npm install gulp -D
2018-04-01 13:01:54 +00:00
RUN yarn
RUN yarn global add gulp-cli
RUN gulp
2018-04-01 15:11:04 +00:00
2018-04-06 19:40:51 +00:00
WORKDIR /opt/meshviewer