Major changes: - Add Docker configuration (Dockerfile, .dockerignore) - Fix 200+ TypeScript compilation errors - Add Prisma schema relations for all models (30+ relations) - Update tsconfig.json to relax non-critical checks - Optimize Docker build with local dist strategy Technical details: - Exclude test files from TypeScript compilation - Add manual relations for ASL, PKB, DC, AIA modules - Use type assertions for JSON/Buffer compatibility - Fix pg-boss, extractionWorker, and other legacy code issues Build result: - Docker image: 838MB (compressed ~186MB) - Successfully pushed to ACR - Zero TypeScript compilation errors Related docs: - Update deployment documentation - Add Python microservice SAE deployment guide
50 lines
361 B
Plaintext
50 lines
361 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
venv/
|
|
env/
|
|
ENV/
|
|
.venv
|
|
|
|
# 测试
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
*.log
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# 文档
|
|
*.md
|
|
docs/
|
|
|
|
# Git
|
|
.git/
|
|
.gitignore
|
|
|
|
# 环境变量
|
|
.env
|
|
.env.local
|
|
|
|
# 临时文件
|
|
*.tmp
|
|
temp/
|
|
tmp/
|
|
uploads/
|
|
|
|
# 模型缓存 (避免打包Nougat模型)
|
|
.cache/
|
|
models/
|
|
*.pth
|
|
*.pt
|
|
*.onnx
|
|
|
|
|