Tools

Netlify .dockerignore

.dockerignore for tools projects

View on GitHub

.dockerignore Content

# ============================================================================
# Created by https://dockerignore.com/
# TOOL-SPECIFIC TEMPLATE for Netlify
# Website: https://www.netlify.com/
# Repository: https://github.com/netlify/cli
# ============================================================================

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: TOOL-SPECIFIC TEMPLATE
# • PURPOSE: Netlify deployment tool specific ignore patterns
# • DESIGN PHILOSOPHY: Contains Netlify-specific patterns for deployment
# • COMBINATION GUIDANCE: Combine with framework or language templates as needed
# • SECURITY CONSIDERATIONS: Security patterns not included (use common/security.dockerignore)
# • BEST PRACTICES: Review before use, test with your specific Netlify setup
# • OFFICIAL SOURCES: Netlify documentation and community patterns

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • DESIGN PHILOSOPHY: Contains only Netlify-specific patterns
# • COMBINATION: Combine with framework/language templates as needed
# • BEST PRACTICES: Follow technology-specific security guidelines

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS AND OUTPUT
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Netlify build artifacts and output files

netlify.env.production

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CACHE AND TEMPORARY FILES
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Netlify cache and temporary directories

**/.netlify/tmp/

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# LOGS AND DEBUG FILES
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Netlify logs and debug files

**/.netlify-cli/logs/
netlify-*.log

# CONFIGURATION AND ENVIRONMENT
netlify.env.*
netlify.env.local

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

# OTHER
**/.netlify-cli/
**/.netlify-cli/cache/
**/.netlify/
**/.netlify/cache/
**/.netlify/deploy-previews/
**/.netlify/deploys/
**/.netlify/edge-functions/
**/.netlify/forms/
**/.netlify/functions-internal/
**/.netlify/functions/
**/.netlify/identity/
**/.netlify/plugins/
**/edge-functions/
**/forms/
**/functions/
**/identity/
**/plugins/
.netlify-cli/config.json
.netlify-cli/state.json
_headers
_headers.example
_redirects
_redirects.example
netlify.log
netlify.toml
netlify.toml.bak
netlify.toml.example
netlify.yaml
netlify.yaml.bak
netlify.yaml.example
netlify.yml
netlify.yml.bak
netlify.yml.example

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