-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile.core
More file actions
38 lines (29 loc) · 987 Bytes
/
Dockerfile.core
File metadata and controls
38 lines (29 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
# Install system dependencies
RUN microdnf install -y \
python3.12 \
python3.12-pip \
git \
tar \
gzip \
&& microdnf clean all
# Install uv
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
# Set working directory
WORKDIR /app
# Copy project files
COPY pyproject.toml uv.lock ./
COPY altk_evolve ./altk_evolve
COPY README.md LICENSE MANIFEST.in ./
# Install dependencies using uv (no extras needed for milvus as it's in base dependencies)
RUN uv sync --frozen --no-dev
# Set environment variables for filesystem backend
ENV EVOLVE_BACKEND=filesystem
ENV EVOLVE_NAMESPACE_ID=evolve
# Expose MCP server (stdio-based, no port needed)
# The MCP server runs via stdio, not HTTP
# Activate the virtual environment
ENV PATH="/app/.venv/bin:${PATH}"
# Set the entrypoint to run the MCP server directly from venv
ENTRYPOINT ["python", "-m", "altk_evolve.frontend.mcp"]