Frameworks

Angular .dockerignore

.dockerignore for frameworks projects

View on GitHub

.dockerignore Content

# ==============================================================================
# Created by https://dockerignore.com/
# FRAMEWORK TEMPLATE for Angular
# Website: https://angular.io/
# Repository: https://github.com/angular/angular
# ==============================================================================

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: FRAMEWORK TEMPLATE
# • PURPOSE: Angular-specific ignore patterns
# • OFFICIAL SOURCES: Angular community patterns and best practices
# • DESIGN PHILOSOPHY: Self-contained template with security patterns first
# • 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 Angular setup

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Security & Sensitive Data
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Environment files contain sensitive API keys, database credentials,
# and other secrets that must not be included in Docker images

**/config/credentials.*
**/config/secrets.*
**/keys/
**/passwords/
**/private/
**/secrets/

.env
.env.*

*.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.*

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Build Artifacts & Distribution
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/.nyc_output/
**/.out/
**/.output/
**/dist/
**/public/build/

.tsbuildinfo
tsconfig.*.tsbuildinfo

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Dependency Management & Package Cache
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/.bun/
**/.deno/
**/.deno_cache/
**/.deno_dir/
**/.npm/
**/.pnpm-store/
**/.pnpm/
**/.yarn/
**/bower_components/
**/node_modules/

.npmignore
.npmrc
.npmrc.*
.yarnrc
.yarnrc.yml

deno.lock
pnpm-debug.log*
pnpm-workspace.yaml
yarn-error.log

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Development & Runtime Artifacts
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/.cache/
**/.esbuild/
**/.parcel-cache/
**/.swc/
**/.turbo/
**/logs/
**/temp/
**/tmp/

*.cache
*.log
*.temp
*.tmp

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Testing & Quality Assurance
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/.jest-cache/
**/__tests__/__snapshots__/
**/coverage/
**/test-results/

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Tool-Specific Patterns
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
**/.angular/
**/.babel-cache/
**/.bzr/
**/.cvs/
**/.git/
**/.hg/
**/.nx/
**/.pnp/
**/.svn/
**/jest-cache/

._*
.angular-cli.json
.babelrc
.babelrc.*
.browserslistrc
.eslintcache
.eslintignore
.eslintrc
.eslintrc.*
.jsbeautifyrc
.jscsrc
.jshintrc
.pnp.cjs
.pnp.js
.pnp.loader.mjs
.prettiercache
.prettierignore
.prettierrc
.prettierrc.*
.stylelintcache
.stylelintignore
.stylelintrc
.stylelintrc.*

*.bak
*.old
*.orig
*.save
*.swo
*.swp

angular.json
jsconfig.json
vitest.config.*.timestamp-*

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