ci: updated dockerfile

This commit is contained in:
Marvin Zhang
2024-11-24 17:47:29 +08:00
parent cd429d4e05
commit c337bf0f9c
4 changed files with 17 additions and 32 deletions

View File

@@ -1,6 +1,12 @@
#!/bin/bash
# replace default api path to new one
python /app/bin/update_docker_js_api_address.py
if [ "${CRAWLAB_MASTER_NODE}" == "Y" ]; then
# Replace default api path to new one
python /app/bin/update_docker_js_api_address.py
# Start nginx
service nginx start
fi
# Start backend
crawlab-server server