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
|
gem install --no-rdoc --no-ri compass
|
||||||
|
|
||||||
# Build Meshviewer
|
# 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
|
WORKDIR /opt/meshviewer
|
||||||
RUN npm install gulp -D && \
|
#RUN npm install gulp -D && \
|
||||||
yarn && \
|
yarn && \
|
||||||
yarn global add gulp-cli
|
yarn global add gulp-cli
|
||||||
|
|
||||||
|
4
start.sh
4
start.sh
@ -1,4 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd /opt/meshviewer
|
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
|
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