Compare commits
3 Commits
93110954bb
...
v1.3.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ee8feb2bf | ||
|
|
1e090f5c88 | ||
|
|
665ce79e1d |
4
.env.example
Normal file
4
.env.example
Normal 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
2
.gitignore
vendored
@@ -31,7 +31,7 @@ yarn-error.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
.env
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
@@ -16,6 +16,7 @@ COPY . .
|
||||
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
RUN mv .env.example .env
|
||||
RUN bun run build
|
||||
|
||||
# 生产阶段
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lanhu-web",
|
||||
"version": "1.2.3",
|
||||
"version": "1.3.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -H 0.0.0.0 --turbopack",
|
||||
|
||||
@@ -9,8 +9,8 @@ if ($confrim -ne "y") {
|
||||
exit 0
|
||||
}
|
||||
|
||||
docker build -t 43.226.58.254:53000/lanhu/web:latest .
|
||||
docker build -t 43.226.58.254:53000/lanhu/web:$($args[0]) .
|
||||
docker build -t repo.lanhuip.com:8554/lanhu/web:latest .
|
||||
docker build -t repo.lanhuip.com:8554/lanhu/web:$($args[0]) .
|
||||
|
||||
docker push 43.226.58.254:53000/lanhu/web:latest
|
||||
docker push 43.226.58.254:53000/lanhu/web:$($args[0])
|
||||
docker push repo.lanhuip.com:8554/lanhu/web:latest
|
||||
docker push repo.lanhuip.com:8554/lanhu/web:$($args[0])
|
||||
|
||||
Reference in New Issue
Block a user