meshviewer-docker/Dockerfile

15 lines
425 B
Docker
Raw Normal View History

2018-04-01 13:01:54 +00:00
FROM ubuntu:16.04
# Install yarn
2018-04-01 15:11:04 +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
2018-04-01 13:01:54 +00:00
RUN apt-get update && apt-get install yarn git
RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ && cd /opt/meshviewer
RUN yarn
RUN yarn global add gulp-cli
RUN gulp
2018-04-01 15:11:04 +00:00
WORKDIR /opt/meshviewer
EXPOSE 80