准备部署
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# 排除无需进入构建上下文的文件
|
||||
node_modules/
|
||||
dist/
|
||||
|
||||
# 环境变量(含密钥/本地配置,不应进入镜像)—— 与 backend/.dockerignore 保持一致
|
||||
.env
|
||||
.env.*
|
||||
|
||||
# 日志
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# 版本控制与编辑器
|
||||
.git/
|
||||
.gitignore
|
||||
.vscode/
|
||||
.idea/
|
||||
|
||||
# Dockerfile 本身
|
||||
Dockerfile
|
||||
Dockerfile.prod
|
||||
Reference in New Issue
Block a user