Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
fix: OSS Docker image build after lightweight wheel split (#5824)
Shuchang Zheng15ae421bc2ec
diff --git a/Dockerfile b/Dockerfileindex c133a51df..351c3d5a5 100644--- a/Dockerfile+++ b/Dockerfile@@ -6,13 +6,16 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh \&& ln -s /root/.local/bin/uv /usr/local/bin/uvCOPY ./pyproject.toml /tmp/pyproject.tomlCOPY ./uv.lock /tmp/uv.lock-RUN uv pip compile pyproject.toml -o requirements.txt --no-annotate --no-header+RUN uv pip compile pyproject.toml --extra server --python-version 3.11 -o requirements.txt --no-annotate --no-headerFROM python:3.11-slim-bookwormWORKDIR /appCOPY --from=requirements-stage /tmp/requirements.txt /app/requirements.txtRUN pip install --upgrade pip setuptools wheel-RUN pip install --no-cache-dir --upgrade -r requirements.txt+# --no-deps: requirements.txt is fully resolved by uv, including the+# pyproject overrides that loosen litellm's jsonschema==4.23.0 pin.+# Letting pip re-resolve here would re-introduce that conflict.+RUN pip install --no-cache-dir --no-deps -r requirements.txtRUN playwright install-depsRUN playwright installRUN apt-get install -y xauth x11-apps netpbm gpg ca-certificates x11vnc && apt-get clean