diff --git a/Dockerfile b/Dockerfile index 08d45b3..6d1acd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,8 +68,11 @@ WORKDIR /app COPY pyproject.toml uv.lock* ./ # Install deps natively so the venv targets this image's Python -RUN pip install --no-cache-dir --upgrade uv==0.11.31 \ - && uv sync --frozen --no-dev --no-install-project +# (Playwright Noble ships uv via entrypoint shim but not in PATH) +RUN curl -LsSf https://astral.sh/uv/install.sh | sh 2>&1 +ENV PATH="/root/.local/bin:$PATH" + +RUN uv sync --frozen --no-dev --no-install-project # Copy app code (busts cache on code changes, not deps) COPY . .