From b5e58510b6b2ad43d8d6ffb72e24013f307e8c68 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Wed, 5 Jun 2024 10:17:53 +0200 Subject: [PATCH] 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> --- .dockerignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..210c47a --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules +Dockerfile