From ab4f6026a84a6a4095b27d435ad7a998329435de Mon Sep 17 00:00:00 2001 From: stebifan Date: Fri, 6 Apr 2018 21:40:51 +0200 Subject: [PATCH] First Running --- Dockerfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01de7c9..1bebe02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,20 @@ -FROM ubuntu:16.04 +FROM node:latest #Install curl -RUN apt-get update && apt-get install -y curl apt-transport-https npm nodejs -RUN npm install gulp-cli +#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 # Install yarn -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 +#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 RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ && cd /opt/meshviewer +WORKDIR /opt/meshviewer +RUN npm install gulp -D RUN yarn RUN yarn global add gulp-cli RUN gulp -WORKDIR /opt/meshviewer -EXPOSE 80 +WORKDIR /opt/meshviewer \ No newline at end of file