diff options
author | 2023-10-03 11:30:35 +0100 | |
---|---|---|
committer | 2023-10-03 11:30:35 +0100 | |
commit | 905be01b9d1abc02fdcf93ba9f7df77b9a1c08aa (patch) | |
tree | 434e6e92dbc5e9cb2560e1c81cbcfeec9db2e62e /examples | |
parent | Only trigger CI on push if the commit changes the Dockerfile or CI (diff) |
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
Diffstat (limited to 'examples')
-rw-r--r-- | examples/example.dockerignore | 8 |
1 files changed, 8 insertions, 0 deletions
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 |