diff --git a/enterprise/Dockerfile b/enterprise/Dockerfile index 56e4ff2124..436a36e76c 100644 --- a/enterprise/Dockerfile +++ b/enterprise/Dockerfile @@ -33,7 +33,8 @@ RUN cd /tmp/enterprise && \ # Export only main dependencies with hashes for supply chain security /app/.venv/bin/poetry export --only main -o requirements.txt && \ # Remove the local path dependency (openhands-ai is already in base image) - sed -i '/^-e /d; /openhands-ai/d' requirements.txt && \ + # and git-based SDK dependencies (already installed via the base app image) + sed -i '/^-e /d; /openhands-ai/d; /^openhands-.*@ git+/d' requirements.txt && \ # Install pinned dependencies from lock file /app/.venv/bin/pip install -r requirements.txt && \ # Cleanup - return to /app before removing /tmp/enterprise