Features: - Multi-stage Dockerfile for optimized production builds - Docker Compose configuration with health checks - Health check endpoint for container monitoring - Production environment configuration template - Comprehensive deployment guide for Mac Mini - Docker ignore file for efficient build context - Security: Non-root user, proper signal handling - Persistence: Data directory volume mounting - Performance: Alpine Linux base, optimized layers - Future-ready: MongoDB service configuration (commented) Deployment: - Simple 'docker-compose up' deployment - Automatic health monitoring and restart policies - Persistent data storage with volume mounts - Port configuration and environment customization - Complete troubleshooting and management guide
58 lines
No EOL
741 B
Text
58 lines
No EOL
741 B
Text
# Docker ignore file for Etsy Finance Tracker
|
|
# Excludes unnecessary files from Docker build context
|
|
|
|
# Node modules - will be installed in container
|
|
node_modules/
|
|
client/node_modules/
|
|
server/node_modules/
|
|
|
|
# Build outputs - will be created in container
|
|
client/dist/
|
|
server/dist/
|
|
build/
|
|
|
|
# Development files
|
|
.git/
|
|
.gitignore
|
|
*.md
|
|
LICENSE
|
|
|
|
# Environment and config files
|
|
.env*
|
|
!.env.example
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
|
|
# Data files - these should be mounted as volumes
|
|
data/
|
|
!data/README.md
|
|
|
|
# IDE and editor files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
|
|
# Test and coverage
|
|
coverage/
|
|
test-results/
|
|
.nyc_output/
|
|
|
|
# Temporary files
|
|
tmp/
|
|
temp/
|
|
*.tmp
|
|
|
|
# Mac specific
|
|
.Spotlight-V100
|
|
.Trashes |