Skip to content

Commit 335c492

Browse files
committed
Fix venv creation in Dockerfile
1 parent 8b959ab commit 335c492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

master/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ── Builder stage ────────────────────────────────────────────────────────────
22
FROM ghcr.io/astral-sh/uv:0.6-python3.12-bookworm-slim AS builder
33

4-
WORKDIR /app
4+
WORKDIR /buildbot
55

66
COPY pyproject.toml uv.lock ./
77
COPY master/pyproject.toml master/pyproject.toml
@@ -22,7 +22,7 @@ RUN apt-get update \
2222
RUN useradd --create-home --home-dir /buildbot buildbot
2323

2424
# Copy virtual environment from builder
25-
COPY --from=builder /app/.venv /buildbot/.venv
25+
COPY --from=builder /buildbot/.venv /buildbot/.venv
2626
ENV PATH="/buildbot/.venv/bin:$PATH" \
2727
VIRTUAL_ENV="/buildbot/.venv"
2828

0 commit comments

Comments
 (0)