From 9387d3961f30d067e1dd2ee6272c61344cbffe7e Mon Sep 17 00:00:00 2001 From: stebifan Date: Mon, 9 Apr 2018 10:21:34 +0200 Subject: [PATCH] test --- Dockerfile | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4e29476..5485c4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,25 @@ FROM node:latest +MAINTAINER Stefan Hoffmann + +# Install Yarn +RUN apt-get update && apt-get install -y curl apt-transport-https && \ + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ + echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ + apt-get update && apt-get install -y yarn + +# Install Grunt +RUN npm install --global grunt-cli && \ + apt-get install -y ruby ruby-dev && \ + gem install --no-rdoc --no-ri sass -v 3.4.22 && \ + gem install --no-rdoc --no-ri compass + +# Build Meshviewer RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ + WORKDIR /opt/meshviewer -RUN npm install gulp -D -RUN yarn -RUN yarn global add gulp-cli -RUN gulp -#COPY start.sh /start.sh -#RUN chmod +x /start.sh -VOLUME /opt/meshviewer/data -#CMD ["/start.sh"] \ No newline at end of file +RUN npm install gulp -D && \ + yarn && \ + yarn global add gulp-cli + +#RUN gulp \ No newline at end of file