docker py-key-value-aio[disk]
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user