From d3fde86296e2506c293f0ceca10ec0d15a0a6d10 Mon Sep 17 00:00:00 2001 From: Taylor Wilsdon Date: Mon, 9 Mar 2026 12:47:40 -0400 Subject: [PATCH] docker py-key-value-aio[disk] --- Dockerfile | 3 +++ README.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5a7fbab..065e3ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,9 @@ COPY . . # Install Python dependencies using uv sync RUN uv sync --frozen --no-dev +# Ensure OAuth proxy disk backend dependencies are present in the image. +RUN uv pip install --python .venv/bin/python "py-key-value-aio[disk]>=0.3.0" + # Create non-root user for security RUN useradd --create-home --shell /bin/bash app \ && chown -R app:app /app diff --git a/README.md b/README.md index ff9ae8c..cdf325b 100644 --- a/README.md +++ b/README.md @@ -1307,6 +1307,8 @@ export WORKSPACE_MCP_OAUTH_PROXY_VALKEY_HOST=redis.example.com export WORKSPACE_MCP_OAUTH_PROXY_VALKEY_PORT=6379 ``` +> Disk support requires `py-key-value-aio[disk]` when installing from source. +> The official Docker image includes the `disk` extra by default. > Valkey support is optional. Install `workspace-mcp[valkey]` (or `py-key-value-aio[valkey]`) only if you enable the Valkey backend. > Windows: building `valkey-glide` from source requires MSVC C++ build tools with C11 support. If you see `aws-lc-sys` C11 errors, set `CFLAGS=/std:c11`.