Frameworks
Remix Run .dockerignore
.dockerignore for frameworks projects
.dockerignore Content
# ============================================================================
# Created by https://dockerignore.com/
# COMPREHENSIVE FRAMEWORK TEMPLATE for Remix
# Website: https://remix.run/
# Repository: https://github.com/remix-run/remix
# ============================================================================
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: COMPREHENSIVE FRAMEWORK TEMPLATE
# • PURPOSE: Remix 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 Remix setup
# • OFFICIAL SOURCES: Remix 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.*
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# DEPENDENCY MANAGEMENT & PACKAGE CACHE
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Node.js package managers and dependency directories
**/.npm/
**/.npm/_logs/
**/.pnpm-store/
**/.pnpm/
**/.yarn/
**/.yarn/cache/
**/bower_components/
**/node_modules/
.npmignore
.npmrc
.npmrc.*
.yarn/install-state.gz
.yarnrc
.yarnrc.yml
npm-debug.log*
pnpm-debug.log*
pnpm-workspace.yaml
yarn-error.log
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS & DISTRIBUTION PACKAGES
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Compiled code, build outputs, and distribution packages
**/.build/
**/.nyc_output/
**/.out/
**/.output/
**/build/
**/dist/
**/public/build/
*.tsbuildinfo
.tsbuildinfo
app/routes/**/*.js
app/routes/**/*.js.map
app/routes/**/*.ts
app/routes/**/*.ts.map
tsconfig.*.tsbuildinfo
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# DEVELOPMENT & RUNTIME ARTIFACTS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Development tools cache, runtime data, and temporary files
**/.cache/
**/.esbuild/
**/.parcel-cache/
**/.swc/
**/.turbo/
**/logs/
**/temp/
**/tmp/
*.cache
*.log
*.temp
*.tmp
.node_repl_history
.parcel-cache
.rollup.cache
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# TESTING & QUALITY ASSURANCE ARTIFACTS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Test outputs, coverage reports, and quality tool artifacts
**/*.spec.js
**/*.spec.ts
**/*.test.js
**/*.test.ts
**/.jest-cache/
**/__tests__/__snapshots__/
**/coverage/
**/test-results/
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CONFIGURATION & CUSTOMIZATION
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Project-specific configuration that should not be shared
.env.testing
jsconfig.json
vitest.config.*.timestamp-*
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# FRAMEWORK-SPECIFIC PATTERNS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Remix-specific patterns and development artifacts
**/.babel-cache/
**/.biome/
**/.bun/
**/.bzr/
**/.circleci/
**/.cvs/
**/.git/
**/.github/
**/.gitlab/
**/.hg/
**/.jenkins/
**/.nx/
**/.nx/cache/
**/.pnp/
**/.remix-types/
**/.remix/
**/.rush/
**/.server/
**/.sessions/
**/.svn/
**/__mocks__/
**/__tests__/
**/docs/
**/jest-cache/
*.bak
*.md
*.old
*.orig
*.pid.lock
*.save
*.seed
*.swo
*.swp
*~
._*
.azure-pipelines.yml
.babelrc
.babelrc.*
.browserslistrc
.DS_Store
.DS_Store?
.eslintcache
.eslintignore
.eslintrc
.eslintrc.*
.gitattributes
.gitignore
.gitlab-ci.yml
.gitmodules
.jsbeautifyrc
.jscsrc
.jshintrc
.pnp.cjs
.pnp.js
.pnp.loader.mjs
.prettiercache
.prettierignore
.prettierrc
.prettierrc.*
.Spotlight-V100
.stylelintcache
.stylelintignore
.stylelintrc
.stylelintrc.*
.Trashes
.travis.yml
app/entry.*.js
app/entry.*.jsx
app/entry.*.ts
app/entry.*.tsx
app/root.*.js
app/root.*.jsx
app/root.*.ts
app/root.*.tsx
desktop.ini
ehthumbs.db
pids
Thumbs.db
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# EXCEPTIONS (FILES TO INCLUDE)
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Important files that should NOT be excluded from Docker builds
!public/*.ico
!public/*.jpeg
!public/*.jpg
!public/*.png
!public/*.svg
!public/favicon.ico
!public/robots.txt
!public/sitemap.xml
!README.md