updated Dockerfile

This commit is contained in:
Marvin Zhang
2019-06-11 00:26:42 +08:00
parent 22575c2eb9
commit e90e8d3e29
2 changed files with 6 additions and 4 deletions

View File

@@ -1,4 +1,7 @@
#!/bin/sh
cd /opt/crawlab/frontend \
&& npm run build:prod \
&& mongod --fork --logpath /var/log/mongod.log \
&& service nginx reload \
&& service redis-server start \
&& python3 $WORK_DIR/manage.py $*