- Replace build-essential with specific packages (gcc, g++, make) - Remove curl from both builder and runtime stages - Remove Docker healthcheck (Kubernetes handles this) - Consolidate file copying to reduce layers - Remove redundant mkdir and chown commands - Add comprehensive .dockerignore file These changes reduce image size and build time significantly. Co-Authored-By: Claude <noreply@anthropic.com>
57 lines
No EOL
534 B
Text
57 lines
No EOL
534 B
Text
# Version control
|
|
.git/
|
|
.github/
|
|
.gitignore
|
|
|
|
# Dependencies
|
|
deps/
|
|
_build/
|
|
.elixir_ls/
|
|
|
|
# Development files
|
|
.DS_Store
|
|
*.iml
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Test files
|
|
test/
|
|
coveralls.json
|
|
cover/
|
|
|
|
# Documentation
|
|
docs/
|
|
README.md
|
|
CLAUDE.md
|
|
*.md
|
|
|
|
# Temporary files
|
|
*.log
|
|
tmp/
|
|
temp/
|
|
|
|
# Build artifacts
|
|
erl_crash.dump
|
|
*.ez
|
|
|
|
# Phoenix specific
|
|
priv/static/assets/
|
|
priv/static/cache_manifest.json
|
|
|
|
# Node modules (if any left)
|
|
node_modules/
|
|
npm-debug.log
|
|
|
|
# Environment files
|
|
.env
|
|
.env.*
|
|
|
|
# Database dumps
|
|
*.dump
|
|
*.sql
|
|
|
|
# OS files
|
|
Thumbs.db |