Frameworks
Gatsby .dockerignore
.dockerignore for frameworks projects
.dockerignore Content
# ============================================================================
# Created by https://dockerignore.com/
# COMPREHENSIVE FRAMEWORK TEMPLATE for Gatsby
# Website: https://www.gatsbyjs.com/
# Repository: https://github.com/gatsbyjs/gatsby
# ============================================================================
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: COMPREHENSIVE FRAMEWORK TEMPLATE
# • PURPOSE: Gatsby 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 Gatsby setup
# • OFFICIAL SOURCES: Gatsby 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/
**/.npm/_logs/
**/.pnpm-store/
**/.pnpm/
**/.yarn/
**/bower_components/
**/node_modules/
.npmignore
.npmrc
.npmrc.*
.yarn/install-state.gz
.yarnrc
.yarnrc.yml
npm-debug.log*
pnpm-debug.log*
yarn-error.log
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS AND OUTPUT
**/.nyc_output/
**/.out/
**/.output/
**/build/
**/dist/
**/public/build/
*.tsbuildinfo
.tsbuildinfo
tsconfig.*.tsbuildinfo
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CACHE AND TEMPORARY FILES
**/.cache/
**/.parcel-cache/
**/.turbo/
**/temp/
**/tmp/
*.cache
*.temp
*.tmp
.parcel-cache
.rollup.cache
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# LOGS AND DEBUG FILES
**/logs/
*.log
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CONFIGURATION AND ENVIRONMENT
.env.testing
jsconfig.json
vitest.config.*.timestamp-*
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# TESTING AND COVERAGE
**/.jest-cache/
**/__tests__/__snapshots__/
**/coverage
**/coverage/
**/test-results/
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# OTHER
!README.md
**/*.spec.js
**/*.spec.ts
**/*.test.js
**/*.test.ts
**/.babel-cache/
**/.biome/
**/.bun/
**/.bzr/
**/.circleci/
**/.cvs/
**/.git/
**/.github/
**/.gitlab/
**/.hg/
**/.jenkins/
**/.nx/
**/.nx/cache/
**/.pnp/
**/.rush/
**/.svn/
**/__mocks__/
**/__tests__/
**/docs/
**/jest-cache/
**/public/
**/src/gatsby-theme-*/
*.7z
*.avi
*.avif
*.bak
*.doc
*.docx
*.eot
*.gif
*.gz
*.ico
*.jpeg
*.jpg
*.md
*.mov
*.mp3
*.mp4
*.ogg
*.old
*.orig
*.otf
*.pid.lock
*.png
*.ppt
*.pptx
*.rar
*.save
*.seed
*.svg
*.swo
*.swp
*.ttf
*.wav
*.webm
*.webp
*.woff
*.woff2
*.xls
*.xlsx
*~
._*
.azure-pipelines.yml
.babelrc
.babelrc.*
.browserslistrc
.DS_Store
.DS_Store?
.eslintcache
.eslintignore
.eslintrc
.eslintrc.*
.gatsby-browser.js
.gatsby-context.js
.gatsby-node.js
.gatsby-ssr.js
.gitattributes
.gitignore
.gitlab-ci.yml
.gitmodules
.jsbeautifyrc
.jscsrc
.jshintrc
.node_repl_history
.pnp.cjs
.pnp.js
.pnp.loader.mjs
.prettiercache
.prettierignore
.prettierrc
.prettierrc.*
.Spotlight-V100
.stylelintcache
.stylelintignore
.stylelintrc
.stylelintrc.*
.Trashes
.travis.yml
desktop.ini
ehthumbs.db
pids
pnpm-workspace.yaml
sw.js
Thumbs.db
workbox-*.js