-
Notifications
You must be signed in to change notification settings - Fork 2
/
.dockerignore
94 lines (88 loc) · 2.12 KB
/
.dockerignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
## IMPORTANT ##
#
# Usually a pattern here also belongs in your `.gitignore` file and vice versa.
#
# Note that Docker's ignore syntax is slightly different to Git's. The main
# difference is that Git interprets patterns without a leading slash as applying
# to any subdirectory, while Docker interprets them as relative to the project
# root directory. To resolve that, a `.dockerignore` should prefix those
# patterns with `**/`. This is also compatible with Git.
#
# This file is NOT a substitute for being intentional in copying directories to
# a Docker image. Avoid use of `COPY . <destination>` in your `Dockerfile`s.
#
## How to use this file
#
# Add patterns to the section they apply to, sorted by:
#
# 1. absolute paths to or patterns for files (with a `/` prefix)
# 2. absolute paths to or patterns for directories
# 3. relative paths to or patterns for files (without a `/` prefix)
# 4. relative paths to or patterns for directories
# 5. pattern exceptions (sorted as above)
#
# Sort them alphanumerically within each section.
#
# If no section fits, create one. No path or pattern should exist without a
# section or label.
#
## Sensitive files
#
# To override these ignored files on a case-by-case basis,
# instead of adding a rule to this file, force add them:
#
# ```
# git add path/to/file --force
# ```
#
# This reduces the risk of accidentally committing files that happen to match
# the ignore pattern exception, or a file being removed and readded
# unintentionally in the future.
#
### Databases
**/*.db*
**/*.dump*
**/*.sql*
**/*.sqlite3*
### Environment variables
**/.env
**/.env.*
### Logs
**/*.log*
### Secrets and keys
**/*.crt*
**/*.key*
**/*.pem*
### Spreadsheet data
**/*.bks*
**/*.csv*
**/*.dex*
**/*.numbers*
**/*.ods*
**/*.ots*
**/*.tsv*
**/*.xlr*
**/*.xls*
### Terraform
**/.terraformrc*
**/terraform.rc*
**/*.tfstate*
**/*.tfvars*
**/.terraform/
### XML data
**/*.xml*
## Dependencies
**/node_modules/
/vendor/
## Other node package managers
**/package-lock.json
## Temporary files
**/tmp/
## Build artifacts
**/.php_cs.cache
**/.sass-cache/
**/*.bak*
## Docker specific patterns ##
#
### Workflow configuration
/.github/