Frameworks
Ionic .dockerignore
.dockerignore for frameworks projects
.dockerignore Content
# ============================================================================
# Created by https://dockerignore.com/
# COMPREHENSIVE FRAMEWORK TEMPLATE for Ionic
# Website: https://ionicframework.com/
# Repository: https://github.com/ionic-team/ionic-framework
# ============================================================================
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: COMPREHENSIVE FRAMEWORK TEMPLATE
# • PURPOSE: Ionic 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 Ionic setup
# • OFFICIAL SOURCES: Ionic 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.*
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# DEPENDENCIES AND PACKAGE MANAGERS
**/.npm/
**/.pnpm-store/
**/.pnpm/
**/.yarn/
**/node_modules/
.npmignore
.npmrc
.pnpm-debug.log*
.pnpmfile.js
.yarnignore
.yarnrc
npm-debug.log*
yarn-error.log*
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS AND OUTPUT
**/.build/
**/.builds/
**/.dist/
**/.dists/
**/.nyc_output/
**/.output/
**/.outputs/
**/build/
**/builds/
**/dist/
**/dists/
**/output/
**/outputs/
*.out
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CACHE AND TEMPORARY FILES
**/.cache/
**/.temp/
**/.tmp/
**/.turbo/
**/temp/
**/tmp/
*.cache
*.temp
*.tmp
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# LOGS AND DEBUG FILES
**/.logs/
**/logs/
*.log
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CONFIGURATION AND ENVIRONMENT
ionic.environment.dev.js
ionic.environment.dev.json
ionic.environment.dev.ts
ionic.environment.js
ionic.environment.json
ionic.environment.prod.js
ionic.environment.prod.json
ionic.environment.prod.ts
ionic.environment.staging.js
ionic.environment.staging.json
ionic.environment.staging.ts
ionic.environment.test.js
ionic.environment.test.json
ionic.environment.test.ts
ionic.environment.ts
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# TESTING AND COVERAGE
**/coverage/
**/test-results/*.cov
.coverage
.coverage.*
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# OTHER
**/.artifact/
**/.artifacts/
**/.bundle/
**/.bundles/
**/.capacitor/
**/.cookie/
**/.cookies/
**/.cordova/
**/.icon/
**/.icons/
**/.log/
**/.native/
**/.natives/
**/.package/
**/.packages/
**/.pids/
**/.plugin/
**/.plugins/
**/.release/
**/.releases/
**/.resources/
**/.session/
**/.sessions/
**/.sockets/
**/.splash/
**/.stage/
**/.stages/
**/.target/
**/.targets/
**/artifact/
**/artifacts/
**/bundle/
**/bundles/
**/cache/
**/capacitor/
**/cookie/
**/cookies/
**/cordova/
**/icon/
**/icons/
**/native/
**/natives/
**/package/
**/packages/
**/pids/
**/platforms/
**/plugin/
**/plugins/
**/release/
**/releases/
**/resources/
**/session/
**/sessions/
**/sockets/
**/splash/
**/stage/
**/stages/
**/target/
**/targets/
**/test-reports/
**/www/
*.cover
*.err
*.html
*.json
*.lcov
*.txt
*.xml
capacitor.config.js
capacitor.config.json
capacitor.config.ts
config.xml
cordova.config.json
cordova.config.xml
ionic.app
ionic.app.json
ionic.config.json
ionic.project
ionic.starter.json
yarn-debug.log*