From 7a8392cd6ac37d1b055176847d3b75c6845d8611 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 13 Oct 2020 09:47:35 -0400 Subject: [PATCH] fix(docker): Add .dockerignore file This file helps reduce errors in our Docker builds, primarily by ensuring the local `node_modules` directory is not used when building the Docker image. Connects https://github.com/pelias/transit/issues/42 --- .dockerignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..85dcc16 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +node_modules