diff --git a/Dockerfile b/Dockerfile index e6d15b7..1168bee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,10 +15,10 @@ RUN npm install --global grunt-cli && \ gem install --no-rdoc --no-ri compass # Build Meshviewer -RUN git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /opt/meshviewer/ +#RUN git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /opt/meshviewer/ WORKDIR /opt/meshviewer -RUN npm install gulp -D && \ +#RUN npm install gulp -D && \ yarn && \ yarn global add gulp-cli diff --git a/start.sh b/start.sh index a44a68c..d89e4e7 100644 --- a/start.sh +++ b/start.sh @@ -1,4 +1,8 @@ #!/bin/sh cd /opt/meshviewer +git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /opt/meshviewer/ +npm install gulp -D yarn +yarn global add gulp-cli gulp -ln -s /opt/meshviewer/build/index.html /opt/meshviewer/index.html \ No newline at end of file +ln -s /opt/meshviewer/build/index.html /opt/meshviewer/index.html +exit 0 \ No newline at end of file