mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +08:00
* feat: Push docker image github package registry. * Docker image in Github Package * change npm ci to npm i * Add docker file. * remove docs lock files
11 lines
234 B
Bash
11 lines
234 B
Bash
#!/bin/sh
|
|
|
|
# folder with dist app files
|
|
cd /usr/share/nginx/html/static/js
|
|
|
|
# Set API Proxy connection
|
|
find -name 'app.*.js' -exec sed -i "s|https://api.erpya.com|$API_URL|g" {} \;
|
|
|
|
# Start nginx web server
|
|
nginx && tail -f /dev/null
|