Skip to content

Commit b5e5851

Browse files
committed
add .dockerignore file
Ignore node_modules in build to prevent issue with COPY or bind mounts when dependencies already exist on the host's filesystem Signed-off-by: David Karlsson <[email protected]>
1 parent b13a9f1 commit b5e5851

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
Dockerfile

0 commit comments

Comments
 (0)