chore: remove .env from git tracking and simplify .gitignore rules

- Remove .env file from git tracking (was accidentally committed)
- Simplify .gitignore to use .env* pattern instead of multiple specific patterns
- Update Dockerfile for optimized multi-stage build
- Add gen:api script placeholder to package.json

Security: Ensure sensitive environment variables are not exposed in repository

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2026-04-06 14:30:38 +08:00
parent 8b19abc628
commit 3e8b961e52
4 changed files with 53 additions and 67 deletions

5
.gitignore vendored
View File

@@ -30,10 +30,7 @@ yarn-error.log*
# env
# env local files (keep .env.example)
.env.local
.env*.local
.env.production
.env.development
.env*
!.env.example
# QC