Frameworks

Koa.js .dockerignore

.dockerignore for frameworks projects

View on GitHub

.dockerignore Content

# ============================================================================
# Created by https://dockerignore.com/
# COMPREHENSIVE FRAMEWORK TEMPLATE for Koa
# Website: https://koajs.com/
# Repository: https://github.com/koajs/koa
# ============================================================================

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: COMPREHENSIVE FRAMEWORK TEMPLATE
# • PURPOSE: Koa framework specific ignore patterns
# • DESIGN PHILOSOPHY: Self-contained with all necessary patterns including security
# • COMBINATION GUIDANCE: Use standalone - no need to combine with other templates
# • SECURITY CONSIDERATIONS: Includes security patterns for .env files and credentials
# • BEST PRACTICES: Review before use, test with your specific Koa setup
# • OFFICIAL SOURCES: Koa community patterns and best practices

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# SECURITY & SENSITIVE DATA PROTECTION (ALWAYS FIRST!)
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CRITICAL: Prevent sensitive data from being included in Docker images

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# ENVIRONMENT VARIABLES & CONFIGURATION FILES
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Environment files contain sensitive API keys, database credentials,
# and other secrets that must not be included in Docker images

.env
.env.*
.env.*.local
.env.development
.env.development.local
.env.example
.env.local
.env.production
.env.production.local
.env.sample
.env.staging
.env.staging.local
.env.template
.env.test
.env.test.local

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# APPLICATION SECRETS & CREDENTIALS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# Application secrets, credentials, and sensitive configuration files
**/config/credentials.*
**/config/secrets.*
**/keys/
**/passwords/
**/private/
**/secrets/
*.auth
*.authz
*.password
*.secret
*.secrets
*.token
*_tokens
*password*
apikeys.*
appsettings.Development.json
appsettings.Local.json
appsettings.Staging.json
connectionstrings.config
credentials
database.ini
database.yml
dbconfig.xml
secrets.json
secrets.yaml
secrets.yml
tokens.*

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS AND OUTPUT
**/.nyc_output/
**/.out/
**/.output/
**/build/
**/dist/
**/nyc_output/
*.out

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CACHE AND TEMPORARY FILES
**/.cache/
**/.temp/
**/.tmp/
**/.turbo/
**/temp/
**/tmp/
*.cache
*.temp
*.tmp

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# LOGS AND DEBUG FILES
**/.logs/
**/logs/
*.log

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# CONFIGURATION AND ENVIRONMENT
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# TESTING AND COVERAGE
**/.coverage/
**/coverage/
**/test-results/
.coverage
.coverage.*

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# OTHER
**/.assets/
**/.audios/
**/.config.*.local/
**/.config.development.local/
**/.config.development/
**/.config.local/
**/.config.production.local/
**/.config.production/
**/.config.staging.local/
**/.config.staging/
**/.config.test.local/
**/.config.test/
**/.config/
**/.doc/
**/.docs/
**/.documentation/
**/.fonts/
**/.icons/
**/.images/
**/.log/
**/.media/
**/.pids/
**/.public/
**/.release/
**/.sockets/
**/.spec/
**/.specs/
**/.stage/
**/.static/
**/.target/
**/.test/
**/.tests/
**/.uploads/
**/.videos/
**/assets/
**/audios/
**/cache/
**/config.*.local/
**/config.development.local/
**/config.development/
**/config.local/
**/config.production.local/
**/config.production/
**/config.staging.local/
**/config.staging/
**/config.test.local/
**/config.test/
**/config/
**/doc/
**/docs/
**/documentation/
**/fonts/
**/icons/
**/images/
**/media/
**/pids/
**/public/
**/release/
**/sockets/
**/spec/
**/specs/
**/stage/
**/static/
**/target/
**/test-reports/
**/test/
**/tests/
**/uploads/
**/videos/favicon.gif
*.cov
*.cover
*.err
*.html
*.json
*.lcov
*.txt
*.xml
favicon.gif~
favicon.ico
favicon.ico~
favicon.jpeg
favicon.jpeg~
favicon.jpg
favicon.jpg~
favicon.png
favicon.png~
favicon.svg
favicon.svg~
favicon.webp
favicon.webp~

Note: This file is fetched from GitHub and cached for 7 days.