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:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user