Skip to content

Commit ed63cd5

Browse files
feat: configuration files (appsettings.json), environment files (.env), examples, and .gitattributes were included in .dockerignore. this ensures that these files are ignored during the docker image build, preventing them from being copied to the container
1 parent de3f21e commit ed63cd5

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.dockerignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@
66
**/.vscode
77
**/TestResults
88

9+
**/appsettings.json
10+
**/appsettings.Development.json
11+
**/appsettings.*.json
12+
13+
.env
14+
.env.*
15+
.env.example
16+
917
*.user
1018
*.suo
1119
*.userosscache
1220
*.sln.docstates
21+
.gitattributes
1322

1423
Dockerfile
1524
README.md
16-
LICENSE
25+
LICENSE

0 commit comments

Comments
 (0)