feat: add Docker deployment and Microsoft OAuth support
This commit is contained in:
18
build.sh
18
build.sh
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# 构建前端静态产物到 mengpost-frontend/dist
|
||||
set -e
|
||||
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
||||
cd "$ROOT/mengpost-frontend"
|
||||
[ -d node_modules ] || npm install
|
||||
npm run build
|
||||
echo ""
|
||||
echo " 前端已构建: $ROOT/mengpost-frontend/dist"
|
||||
#!/usr/bin/env bash
|
||||
# 构建前端静态产物到 mengpost-frontend/dist
|
||||
set -e
|
||||
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
||||
cd "$ROOT/mengpost-frontend"
|
||||
[ -d node_modules ] || npm install
|
||||
npm run build
|
||||
echo ""
|
||||
echo " 前端已构建: $ROOT/mengpost-frontend/dist"
|
||||
|
||||
Reference in New Issue
Block a user