From 9d9ca7049d9ee606d1df48f99acba5b7e869c771 Mon Sep 17 00:00:00 2001 From: Max Chis Date: Wed, 7 May 2025 15:15:45 -0400 Subject: [PATCH 1/2] Convert to full uv/pyproject dependency management --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 58111591..70a54a83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app COPY pyproject.toml uv.lock ./ # Install dependencies -RUN uv sync +RUN uv sync --no-dev # Must call from the root directory because uv does not add playwright to path RUN /app/.venv/bin/playwright install-deps chromium RUN /app/.venv/bin/playwright install chromium From 1faba4ebbfd6edc5e99151cc8666ebf4ef1505ee Mon Sep 17 00:00:00 2001 From: Max Chis Date: Wed, 7 May 2025 15:23:04 -0400 Subject: [PATCH 2/2] Convert to full uv/pyproject dependency management --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 70a54a83..42736a8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,11 @@ WORKDIR /app COPY pyproject.toml uv.lock ./ # Install dependencies -RUN uv sync --no-dev +ENV UV_PROJECT_ENVIRONMENT="/usr/local/" +RUN uv sync --locked --no-dev # Must call from the root directory because uv does not add playwright to path -RUN /app/.venv/bin/playwright install-deps chromium -RUN /app/.venv/bin/playwright install chromium +RUN playwright install-deps chromium +RUN playwright install chromium # Copy project files