update startscript.sh in Dockerfile.

"set-e" to "set -e"
This commit is contained in:
Yoshihiro TAKAHARA 2015-07-14 06:24:24 +09:00
parent 610be43048
commit 0ba8534696

View File

@ -51,7 +51,7 @@ RUN cd /home/ethnetintel &&\
npm install &&\
npm install -g pm2
RUN echo '#!/bin/bash\nset-e\n\ncd /home/ethnetintel/eth-net-intelligence-api\n/usr/bin/pm2 start ./app.json\ntail -f \
RUN echo '#!/bin/bash\nset -e\n\ncd /home/ethnetintel/eth-net-intelligence-api\n/usr/bin/pm2 start ./app.json\ntail -f \
/home/ethnetintel/.pm2/logs/node-app-out-0.log' > /home/ethnetintel/startscript.sh
RUN chmod +x /home/ethnetintel/startscript.sh &&\