1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00
Edwin Betancourt 14f833ab87
feat: Push docker image github package registry. (#1014)
* 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
2021-07-30 12:55:55 -04:00

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