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 <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-06-05 10:17:53 +02:00
parent b13a9f1409
commit b5e58510b6

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
node_modules
Dockerfile