Skip to content

Commit 9b87e87

Browse files
committed
Initial .dockerignore for server
1 parent 238da66 commit 9b87e87

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/server/.dockerignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# .dockerignore needs to live in root of build context (src/server or src/client)
2+
# It specifies which files Docker should exclude from the built image
3+
# Details: https://docs.docker.com/engine/reference/builder/#dockerignore-file
4+
5+
# */temp* Exclude files and directories whose names start with temp in any
6+
# immediate subdirectory of the root. For example, the plain
7+
# file /somedir/temporary.txt is excluded, as is the directory /somedir/temp.
8+
9+
# */*/temp* Exclude files and directories starting with temp from any subdirectory
10+
# that is two levels below the root. For example, /somedir/subdir/temporary.txt is excluded.
11+
12+
# temp? Exclude files and directories in the root directory whose names are a one-character extension
13+
# of temp. For example, /tempa and /tempb are excluded.
14+
15+
secrets.py
16+
secrets.pyX
17+
secrets/*

0 commit comments

Comments
 (0)