File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Tells Docker which files NOT to copy into the build context. Trimming the context shrinks the
2+ # "transferring context" step in the build log from ~1.4 MB to ~200 KB and prevents stale bin/obj
3+ # artifacts from a local Rider/VS build leaking into the container image.
4+
5+ # .NET build outputs
6+ ** /bin /
7+ ** /obj /
8+
9+ # Tests aren't needed in the production image
10+ tests /
11+
12+ # IDE + tooling
13+ .vs /
14+ .vscode /
15+ .idea /
16+ ** /* .user
17+ ** /* .suo
18+
19+ # Local-only state
20+ ** /appsettings.Development.json
21+ ** /launchSettings.json
22+ ** /secrets.json
23+ ** /.env
24+ ** /.env. *
25+
26+ # Git metadata
27+ .git /
28+ .gitignore
29+ .gitattributes
30+ ** /.gitkeep
31+
32+ # OS junk
33+ .DS_Store
34+ Thumbs.db
35+
36+ # Docs / runtime test artifacts that don't ship in the image
37+ * .md
38+ * .log
39+ * .binlog
40+ docker-compose * .yml
41+ .dockerignore
Original file line number Diff line number Diff line change 11{
22 "sdk" : {
33 "version" : " 10.0.203" ,
4- "rollForward" : " latestPatch "
4+ "rollForward" : " latestMinor "
55 }
66}
You can’t perform that action at this time.
0 commit comments