From e9589dbd8f61d37595b359b601c51eea75184c93 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Mon, 4 Dec 2023 15:42:56 -0500 Subject: [PATCH] chore: add a .dockerignore file Signed-off-by: Jennifer Power --- .devcontainer/Dockerfile | 2 +- .dockerignore | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8688509d..8a20af74 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -22,7 +22,7 @@ RUN mkdir -p "$PYSETUP_PATH" # Installing poetry and pipx. RUN python3 -m pip install --no-cache-dir --upgrade pip \ && python3 -m pip install --no-cache-dir pipx \ - && python3 -m pipx install poetry==$POETRY_VERSION + && python3 -m pipx install poetry=="$POETRY_VERSION" # set permissions RUN chown trestlebot:trestlebot -R /home/trestlebot diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..3db29837 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +.github/** +docs/ +**/.venv/** +.coverage +.coverage.* + +.git +.cache +.env \ No newline at end of file