-
-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (16 loc) · 591 Bytes
/
Dockerfile
File metadata and controls
24 lines (16 loc) · 591 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
FROM python:3.12-bullseye
# install uv to run stdio clients (uvx)
RUN pip install --no-cache-dir uv
# install npx to run stdio clients (npx)
RUN apt-get update && apt-get install -y --no-install-recommends curl
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get install -y --no-install-recommends nodejs
COPY pyproject.toml .
## FOR GHCR BUILD PIPELINE
COPY mcp_bridge/__init__.py mcp_bridge/__init__.py
COPY README.md README.md
RUN uv sync
COPY mcp_bridge mcp_bridge
EXPOSE 8000
WORKDIR /mcp_bridge
ENTRYPOINT ["uv", "run", "main.py"]