From 1e090f5c8832d547f040b936ede4e14a97d2ec35 Mon Sep 17 00:00:00 2001 From: Eamon-meng <17516219072@163.com> Date: Thu, 2 Apr 2026 17:52:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=BF=AE=E5=A4=8D=E6=9E=84=E5=BB=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 4 ++++ .gitignore | 2 +- Dockerfile | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..1550b88 --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +# 开发环境配置 +NEXT_PUBLIC_API_BASE_URL=http://192.168.3.42:8080 +CLIENT_ID=web +CLIENT_SECRET=web diff --git a/.gitignore b/.gitignore index f8285f9..1913615 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,7 @@ yarn-error.log* .pnpm-debug.log* # env files (can opt-in for committing if needed) -.env* +.env # vercel .vercel diff --git a/Dockerfile b/Dockerfile index df2df4e..9527b43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ COPY . . ENV NEXT_TELEMETRY_DISABLED=1 +RUN mv .env.example .env RUN bun run build # 生产阶段