From 905be01b9d1abc02fdcf93ba9f7df77b9a1c08aa Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 3 Oct 2023 11:30:35 +0100 Subject: [PATCH] Add a dockerignore file to the example dir This is to push users in the direction of using a dockerignore file to avoid copying things like their venv folders into the final image --- examples/example.dockerignore | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/example.dockerignore diff --git a/examples/example.dockerignore b/examples/example.dockerignore new file mode 100644 index 0000000..dec5e6b --- /dev/null +++ b/examples/example.dockerignore @@ -0,0 +1,8 @@ +# Exclude everything by default +* + +# Make exceptions for what's needed +!app +!pyproject.toml +!poetry.lock +!LICENSE