diff options
author | 2025-03-02 16:34:32 +0000 | |
---|---|---|
committer | 2025-03-02 16:34:32 +0000 | |
commit | 66f78dca2b871d155d1024b682e4f03af447ab0f (patch) | |
tree | 12758a51b263ba2af44d7297f2f50f10c0539225 | |
parent | Update readme with instructions to setup the bot (diff) |
Add note of .venv location choice in dockerfile
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,10 +37,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # Install dependencies from build cache -WORKDIR /app +# .venv not put in /app so that it doesn't conflict with the dev +# volume we use to avoid rebuilding image every code change locally COPY --from=builder /opt/king-arthur/.venv /opt/king-arthur/.venv # Copy the source code in last to optimize rebuilding the image +WORKDIR /app COPY . . ENV PATH="/opt/king-arthur/.venv/bin:$PATH" |