docker py-key-value-aio[disk]

This commit is contained in:
Taylor Wilsdon
2026-03-09 12:47:40 -04:00
parent 6a2633984a
commit d3fde86296
2 changed files with 5 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ COPY . .
# Install Python dependencies using uv sync # Install Python dependencies using uv sync
RUN uv sync --frozen --no-dev 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 # Create non-root user for security
RUN useradd --create-home --shell /bin/bash app \ RUN useradd --create-home --shell /bin/bash app \
&& chown -R app:app /app && chown -R app:app /app

View File

@@ -1307,6 +1307,8 @@ export WORKSPACE_MCP_OAUTH_PROXY_VALKEY_HOST=redis.example.com
export WORKSPACE_MCP_OAUTH_PROXY_VALKEY_PORT=6379 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. > 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`. > 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`.