Frameworks

Alpine.js .dockerignore

.dockerignore for frameworks projects

View on GitHub

.dockerignore Content

# ============================================================================
# Created by https://dockerignore.com/
# FRAMEWORK TEMPLATE for Alpine.js
# Website: https://alpinejs.dev/
# Repository: https://github.com/alpinejs/alpine
# ============================================================================

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: Framework Template
# • PURPOSE: Alpine.js web 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 Alpine.js setup
# • OFFICIAL SOURCES: Alpine.js 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
.env
.env.*
.env.*.local

# APPLICATION SECRETS & CREDENTIALS
**/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
credentials.*
credentials.json
credentials.yaml
credentials.yml
id_rsa
id_rsa.pub
jwt-secret
jwt-secret.*
oauth-credentials.*
passwd
private-key.pem
private.pem
secret
secret.*
secrets.json
secrets.yaml
secrets.yml
session-secret
ssh-key
ssh-key.pem
ssl-cert.*
ssl-key.*

# SECURITY CERTIFICATES & KEYS
*.cer
*.crt
*.csr
*.der
*.key
*.p12
*.p7b
*.p7c
*.pem
*.pfx
*.spc
*.sst

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# ALPINE.JS-SPECIFIC PATTERNS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# Alpine.js typically doesn't have specific build directories
# but may be used with build tools
**/build/
**/dist/

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# DEPENDENCY MANAGEMENT & PACKAGE MANAGERS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# Node.js package managers
**/.npm/
**/.pnpm-store/
**/.yarn/
**/node_modules/
**/npm-debug.log*
**/yarn-debug.log*
**/yarn-error.log*
.npm
.npmrc
.npmrc.*
.nuxt
pnpm-debug.log*

# Bun package manager (modern alternative)
**/.bun-install/
**/.bun/

# Deno runtime (alternative to Node.js)
**/.deno/
**/deno.lock

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# DEVELOPMENT & RUNTIME ARTIFACTS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# Build output directories
**/tmp/

# Log files
**/logs/
*.log

# Runtime directories
**/run/
**/var/run/

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS AND OUTPUT
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# TypeScript compilation
**/*.tsbuildinfo
**/.tsc-tmp/
**/.tsc-working/
**/.tsc/

# Build output directories
**/coverage/
**/out/

# Compiled binaries

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CACHE AND TEMPORARY FILES
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# General cache directories
**/.cache/
**/.eslintcache
**/.next/cache/
**/.parcel-cache/
**/.swc/
**/.turbo/
**/.vite/
**/cache/

# Build tool caches
**/.esbuild/
**/.nx/

# Temporary files
**/temp/
*.temp
*.tmp

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# TESTING AND QUALITY ASSURANCE
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# Test output and reports
**/.nyc_output/
**/.test-output/
**/nyc_output/
**/test-output/
.audit.out
.benchmark.out
.performance.out
.profile.out
.profiling.out
.scan.out
.security.out

# Test coverage
**/lcov.info

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# EDITOR AND IDE CONFIGURATION
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# IDE-specific files
**/*.swo
**/*.swp
**/.idea/
**/.vscode/
*~
.DS_Store
.ropeproject
__pycache__

# Editor configuration
.editorconfig
.project

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# VERSION CONTROL AND COLLABORATION
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# Git and version control
.git
.gitattributes
.gitignore
.gitmodules
.gitreview

# Collaboration tools
.hg
.svn
CVS

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