🚀 GitHub Actions CI/CD Pipeline: - Automatic Docker image builds on every push to main - Multi-platform support (Intel + Apple Silicon) - Images published to GitHub Container Registry (ghcr.io) - Tagged releases with semantic versioning - Build artifacts for easy deployment 📦 Deployment Options: - docker-compose.ghcr.yml for pre-built images (fastest) - Enhanced build-deploy.sh with 'local' and 'ghcr' modes - Comprehensive GITHUB_CONTAINER_REGISTRY.md guide - Updated README with quick deployment options 🏗️ Build Improvements: - Client build included in Docker image for nginx sharing - Automated GitHub Actions workflow with caching - Deployment artifacts generated automatically - Production docker-compose template creation ✅ Benefits: - 1-2 minute deployments (vs 5-10 minute local builds) - Consistent images across all environments - Automatic security scanning and multi-arch builds - Easy rollbacks with version tags - No local build dependencies required Usage: - Quick deploy: ./build-deploy.sh ghcr - Local build: ./build-deploy.sh local - View images: https://github.com/dlawler489/etsy-finance-tracker/pkgs/container/etsy-finance-tracker
59 lines
No EOL
750 B
Text
59 lines
No EOL
750 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/
|
|
.github/
|
|
.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 |