build on start
This commit is contained in:
parent
2425bf9cd2
commit
79fb223a65
@ -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
|
||||
|
||||
|
6
start.sh
6
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
|
||||
ln -s /opt/meshviewer/build/index.html /opt/meshviewer/index.html
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user