updated dockerfile

This commit is contained in:
marvzhang
2021-07-30 11:00:33 +08:00
parent 39015872ae
commit e6a7dbfbbf
8 changed files with 110 additions and 95 deletions

View File

@@ -2,7 +2,7 @@
# replace absolute api url to relative
jspath=`ls /app/dist/js/index.*.js`
sed -i "s?###VUE_APP_API_BASE_URL###?\/api?g" ${jspath}
sed -i "s?VUE_APP_API_BASE_URL?\/api?g" ${jspath}
# replace default api path to new one
# if [ "${CRAWLAB_API_ADDRESS}" = "" ];