Skip to content

Commit 7136114

Browse files
committed
fix: update dockerfile
1 parent 1a523bf commit 7136114

2 files changed

Lines changed: 42 additions & 1 deletion

File tree

server/.dockerignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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

server/global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
33
"version": "10.0.203",
4-
"rollForward": "latestPatch"
4+
"rollForward": "latestMinor"
55
}
66
}

0 commit comments

Comments
 (0)