This commit is contained in:
stebifan 2018-04-01 17:11:04 +02:00
parent 53ea8e6965
commit 0470e990cf

View File

@ -1,11 +1,14 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
# Install yarn # Install yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list 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 yarn git RUN apt-get update && apt-get install yarn git
RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ && cd /opt/meshviewer RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ && cd /opt/meshviewer
RUN yarn RUN yarn
RUN yarn global add gulp-cli RUN yarn global add gulp-cli
RUN gulp RUN gulp
WORKDIR /opt/meshviewer
EXPOSE 80