3 Commits

Author SHA1 Message Date
Eamon-meng
8ee8feb2bf 修改构建脚本路径 2026-04-02 17:56:48 +08:00
Eamon-meng
1e090f5c88 更新配置文件修复构建问题 2026-04-02 17:52:15 +08:00
Eamon-meng
665ce79e1d 发布v1.3.0版本 2026-04-02 17:35:51 +08:00
5 changed files with 11 additions and 6 deletions

4
.env.example Normal file
View File

@@ -0,0 +1,4 @@
# 开发环境配置
NEXT_PUBLIC_API_BASE_URL=http://192.168.3.42:8080
CLIENT_ID=web
CLIENT_SECRET=web

2
.gitignore vendored
View File

@@ -31,7 +31,7 @@ yarn-error.log*
.pnpm-debug.log* .pnpm-debug.log*
# env files (can opt-in for committing if needed) # env files (can opt-in for committing if needed)
.env* .env
# vercel # vercel
.vercel .vercel

View File

@@ -16,6 +16,7 @@ COPY . .
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1
RUN mv .env.example .env
RUN bun run build RUN bun run build
# 生产阶段 # 生产阶段

View File

@@ -1,6 +1,6 @@
{ {
"name": "lanhu-web", "name": "lanhu-web",
"version": "1.2.3", "version": "1.3.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -H 0.0.0.0 --turbopack", "dev": "next dev -H 0.0.0.0 --turbopack",

View File

@@ -9,8 +9,8 @@ if ($confrim -ne "y") {
exit 0 exit 0
} }
docker build -t 43.226.58.254:53000/lanhu/web:latest . docker build -t repo.lanhuip.com:8554/lanhu/web:latest .
docker build -t 43.226.58.254:53000/lanhu/web:$($args[0]) . docker build -t repo.lanhuip.com:8554/lanhu/web:$($args[0]) .
docker push 43.226.58.254:53000/lanhu/web:latest docker push repo.lanhuip.com:8554/lanhu/web:latest
docker push 43.226.58.254:53000/lanhu/web:$($args[0]) docker push repo.lanhuip.com:8554/lanhu/web:$($args[0])