From 0470e990cfe94d620b77eb46f49168ed6a95f9c0 Mon Sep 17 00:00:00 2001 From: stebifan Date: Sun, 1 Apr 2018 17:11:04 +0200 Subject: [PATCH] Test --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a0cca64..961e537 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,14 @@ FROM ubuntu:16.04 # Install yarn -RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - -RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list +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 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 + +WORKDIR /opt/meshviewer +EXPOSE 80