.dockerignore: mirror .gitignore

Ignore sensitive files and folders.
This commit is contained in:
Jesse Chan
2020-09-05 11:49:37 +08:00
parent 47f514c4b8
commit 5db9e195fa
+62 -2
View File
@@ -1,4 +1,64 @@
# Ignore files not needed for building and running to keep image size low.
.git/
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Secrets
*.secret
# Dependency directories
node_modules/
# Git directory
.git/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# macOS custom attributes
.DS_Store
# VisualStudio
.vscode
# Intellij
.idea
# Personal flood config
config.js
# Static assets
dist/assets
# Runtime files
run/
# Vim temp files
*.swp
# JSDoc output
docs/
out/