gohorsejobs/backend/.gitignore
Tiago Yamamoto d894012af6 perf(docker): ultra-optimize backend build
- Use scratch base image (< 20MB final vs ~50MB alpine)
- Add BuildKit cache for go modules and build cache
- Selective COPY (cmd, internal, migrations, docs) instead of COPY . .
- Remove HEALTHCHECK (not supported by Podman OCI)
- Update .gitignore with more binary patterns
- Optimize .dockerignore to exclude tests and binaries
2025-12-28 12:05:12 -03:00

57 lines
609 B
Text
Executable file

# =============================================================================
# GoHorse Backend - Git Ignore
# =============================================================================
# Binaries
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
/main
/api
/backend
# Build cache
/bin/
/build/
/dist/
# Go coverage
*.out
coverage.html
coverage.txt
# Go workspace
go.work
go.work.sum
# Vendor (uncomment if using go mod vendor)
# vendor/
# Environment
.env
.env.local
.env.*.local
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Temp
tmp/
temp/
*.tmp
*.log
# Debug
__debug_bin*
debug.test