From 99155fdb373ccf6fa6631464ef9865ce13f3f935 Mon Sep 17 00:00:00 2001 From: muskit <15199219+muskit@users.noreply.github.com> Date: Sun, 21 Apr 2024 16:03:32 -0700 Subject: [PATCH] add .venv to avoid long image rebuilds --- .dockerignore | 3 ++- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 84db910..fdac9d0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ -./run \ No newline at end of file +./run +./.venv diff --git a/Dockerfile b/Dockerfile index 89308c5..9fe64a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN pip3 install --break-system-packages -r requirements.txt # Copy source code COPY . . -# Mount working directory +# Mount persistent working directory VOLUME ./run # Run the bot