From 6898a4db6fbf1dd4ad3cb1cad622777e653d609f Mon Sep 17 00:00:00 2001 From: Neil Fulwiler Date: Thu, 21 Nov 2024 16:05:32 +0000 Subject: [PATCH] add dockerignore (#26075) ## Summary & Motivation This lets us use the dagster repo as a docker context, without having to transfer a lot of cruft through docker that would then get ignored anyway ## How I Tested These Changes Ran a docker build locally with /code/dagster as the context, and verified that before this change the context was unmanegeable (several GB) and after it was basically immediate --- .dockerignore | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000000..3ec9eb3ce049a --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +.git/ +**/.tox/ +**/.yarn/ +**/__pycache__/ +**/*.egg-info/ +**/node_modules/ +**/*.pyc +**/.next/ +**/venv/