Frameworks
Ghost .dockerignore
.dockerignore for frameworks projects
.dockerignore Content
# ============================================================================
# Created by https://dockerignore.com/
# COMPREHENSIVE FRAMEWORK TEMPLATE for Ghost
# Website: https://ghost.org/
# Repository: https://github.com/TryGhost/Ghost
# ============================================================================
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: COMPREHENSIVE FRAMEWORK TEMPLATE
# • PURPOSE: Ghost blogging platform 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 Ghost setup
# • OFFICIAL SOURCES: Ghost 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/
**/.yarn/
**/content/themes/*/node_modules/
**/node_modules/
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS AND OUTPUT
**/.nyc_output/
**/build/
**/content/themes/*/build/
**/content/themes/*/dist/
**/dist-ts/
**/dist/
**/out-tsc/
/*.tsbuildinfo
/.tsbuildinfo
/tsconfig.tsbuildinfo
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CACHE AND TEMPORARY FILES
**/.cache/
**/.parcel-cache/
**/.tmp/
**/.turbo/
**/temp/
**/tmp/
/*.cache
/*.temp
/*.tmp
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# LOGS AND DEBUG FILES
**/.logs/
**/content/logs/
**/logs/
/*.log
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CONFIGURATION AND ENVIRONMENT
.env.testing
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# TESTING AND COVERAGE
**/coverage/
**/test-results/
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# OTHER
**/$RECYCLE.BIN/
**/.astro/
**/.idea/
**/.next/
**/.nuxt/
**/.svelte-kit/
**/.vs/
**/.vscode/
**/assets/
**/backups/
**/content/adapters/
**/content/data/
**/content/images/
**/content/settings/
**/content/themes/*/.git/
**/content/themes/*/.github/
**/core/built/
**/data/
**/database/
**/docs/
**/documentation/
**/examples/
**/exports/
**/media/
**/patches/
**/playwright-report/
**/samples/
**/static/
**/test/
**/tests/
**/uploads/
**/var/cache/
**/var/log/
**/vitest-reports/
*.sql
*.sql.gz
*.sqlite
/*.code-workspace
/*.db
/*.iml
/*.ipr
/*.iws
/*.lnk
/*.sqlite
/*.sqlite3
/*.sublime-*
/._*
/.DS_Store
/.DS_Store?
/.Spotlight-V100
/.sublime-*
/.Trashes
/content/data/ghost-dev.db
/content/data/ghost.db
/content/themes/*/.gitignore
/cypress.config.js
/cypress.config.ts
/debug.log
/desktop.ini
/ehthumbs.db
/error_log
/Gruntfile.js
/gulpfile.js
/jest.config.js
/jest.config.ts
/playwright.config.js
/playwright.config.ts
/rollup.config.js
/rollup.config.ts
/Thumbs.db
/vite.config.js
/vite.config.ts
/vitest.config.js
/vitest.config.ts
/webpack.config.js
/webpack.config.ts