Skip to content

Commit 7db8e4c

Browse files
committed
change container
Signed-off-by: Eran Ifrach <[email protected]>
1 parent fc120e3 commit 7db8e4c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11
1+
3.12

Containerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
FROM registry.access.redhat.com/ubi9/python-311
1+
FROM ghcr.io/astral-sh/uv:alpine
22

33
# Set default MCP transport if not provided
44
ENV MCP_TRANSPORT=stdio
55

6-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
6+
# Install Python 3.11 and required build dependencies
7+
RUN apk add --no-cache python3 python3-dev py3-pip build-base
78

89
# Copy project files to user's home directory (no permission issues)
910
COPY pyproject.toml ./
@@ -26,4 +27,4 @@ RUN uv sync --no-cache --locked
2627
# Expose metrics port
2728
EXPOSE 8000
2829

29-
CMD ["uv", "run", "python", "mcp_server.py"]
30+
CMD ["uv", "run","--no-cache", "python", "mcp_server.py"]

0 commit comments

Comments
 (0)