Frameworks

Qwik .dockerignore

.dockerignore for frameworks projects

View on GitHub

.dockerignore Content

# ============================================================================
# Created by https://dockerignore.com/
# COMPREHENSIVE FRAMEWORK TEMPLATE for Qwik
# Website: https://qwik.builder.io/
# Repository: https://github.com/BuilderIO/qwik
# ============================================================================

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: COMPREHENSIVE FRAMEWORK TEMPLATE
# • PURPOSE: Qwik 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 Qwik setup
# • OFFICIAL SOURCES: Qwik 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/
**/.yarn/

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS AND OUTPUT
**/.nyc_output/
*.tsbuildinfo

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

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CONFIGURATION AND ENVIRONMENT
*.env
*.env.*

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# TESTING AND COVERAGE
**/coverage

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# OTHER
!public/*.avif
!public/*.ico
!public/*.jpeg
!public/*.jpg
!public/*.png
!public/*.svg
!public/*.webp
!public/favicon.ico
!public/robots.txt
!public/sitemap.xml
!README.md
!static/favicon.ico
!static/robots.txt
**/*.spec.js
**/*.spec.ts
**/*.test.js
**/*.test.ts
**/.biome/
**/.bun/
**/.circleci/
**/.github/
**/.gitlab/
**/.jenkins/
**/.nx/
**/.qwik-city/
**/.qwik-components/
**/.qwik-insights/
**/.qwik-optimizer/
**/.qwik-types/
**/.qwik/
**/.rush/
**/.server/
**/__mocks__/
**/__tests__/
**/docs/
*.md
*.pid.lock
*.seed
.azure-pipelines.yml
.eslintcache
.gitlab-ci.yml
.node_repl_history
.prettiercache
.travis.yml
manifest.json
manifest.webmanifest
pids
public/*
src/entry.*.js
src/entry.*.jsx
src/entry.*.ts
src/entry.*.tsx
src/root.*.js
src/root.*.jsx
src/root.*.ts
src/root.*.tsx
static/*
sw.js
workbox-*.js

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