mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-28 17:50:56 +01:00
updated Dockerfile
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# replace absolute api url to relative
|
||||
jspath=`ls /app/dist/js/app.*.js`
|
||||
sed -i "s?http:\/\/localhost:8000?\/api?g" ${jspath}
|
||||
jspath=`ls /app/dist/js/index.*.js`
|
||||
sed -i "s?###VUE_APP_API_BASE_URL###?\/api?g" ${jspath}
|
||||
|
||||
# replace default api path to new one
|
||||
# if [ "${CRAWLAB_API_ADDRESS}" = "" ];
|
||||
|
||||
Reference in New Issue
Block a user