added docker_init.sh

This commit is contained in:
Marvin Zhang
2019-06-10 23:02:08 +08:00
parent f0b127c5f9
commit bdeecea089

View File

@@ -1,3 +1,4 @@
#!/bin/sh
cd /opt/crawlab/frontend \
&& npm run build:prod \
&& python3 $WORK_DIR/manage.py
&& python3 $WORK_DIR/manage.py @*