We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a7c2ee commit 1026a97Copy full SHA for 1026a97
Dockerfile
@@ -0,0 +1,24 @@
1
+FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
2
+
3
+ENV UV_COMPILE_BYTECODE=1
4
+ENV UV_LINK_MODE=copy
5
+ENV UV_CACHE_DIR=/opt/uv-cache/
6
7
+RUN apt-get update && apt-get install -y --no-install-recommends git
8
9
+WORKDIR /app
10
11
+RUN --mount=type=cache,target=UV_CACHE_DIR \
12
+ --mount=type=bind,source=uv.lock,target=uv.lock \
13
+ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
14
+ uv sync --frozen --no-install-project --no-dev --no-editable
15
16
+ADD . /app
17
18
19
+ uv sync --frozen --no-dev --no-editable
20
21
+# Add virtual environment to PATH
22
+ENV PATH="/app/.venv/bin:$PATH"
23
24
+ENTRYPOINT ["mcp-server-iris"]
0 commit comments