- Deleted the @customer-portal/validation package to streamline dependencies. - Updated Dockerfiles for BFF and Portal to reflect changes in package structure and optimize build processes. - Adjusted import statements in BFF controllers to use the new Zod validation approach. - Enhanced entrypoint script in BFF to include database and cache readiness checks before application startup. - Cleaned up .gitignore to ignore unnecessary files and maintain clarity in project structure.
84 lines
1.1 KiB
Plaintext
84 lines
1.1 KiB
Plaintext
# =============================================================================
|
|
# Docker Build Ignore - Reduce context size for faster builds
|
|
# =============================================================================
|
|
|
|
# Dependencies (installed fresh in containers)
|
|
node_modules/
|
|
**/node_modules/
|
|
|
|
# Build outputs (built in container)
|
|
dist/
|
|
**/dist/
|
|
.next/
|
|
**/.next/
|
|
.turbo/
|
|
**/.turbo/
|
|
|
|
# Git
|
|
.git/
|
|
.gitignore
|
|
|
|
# IDE and editors
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
.DS_Store
|
|
|
|
# Environment files (secrets passed via env vars)
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
env/
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
npm-debug.log*
|
|
pnpm-debug.log*
|
|
|
|
# Test and coverage
|
|
coverage/
|
|
.nyc_output/
|
|
*.test.ts
|
|
*.spec.ts
|
|
**/__tests__/
|
|
|
|
# Documentation (not needed in runtime)
|
|
docs/
|
|
*.md
|
|
!README.md
|
|
|
|
# Development tools
|
|
.husky/
|
|
.eslintcache
|
|
tsconfig.tsbuildinfo
|
|
**/tsconfig.tsbuildinfo
|
|
|
|
# Docker artifacts (don't send to context)
|
|
*.tar
|
|
*.tar.gz
|
|
*.sha256
|
|
.build-logs/
|
|
|
|
# Secrets (never include)
|
|
secrets/
|
|
*.pem
|
|
*.key
|
|
*.cert
|
|
|
|
# Misc
|
|
tmp/
|
|
temp/
|
|
.cache/
|
|
Thumbs.db
|
|
|
|
# Sim manager migration (one-time tool)
|
|
sim-manager-migration/
|
|
|
|
# Build artifacts already saved
|
|
portal-frontend.*.tar*
|
|
portal-backend.*.tar*
|
|
build-output.log
|
|
|