Skip to content

Commit f0f6420

Browse files
committed
Add Dockerfile
1 parent 641bfc0 commit f0f6420

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+
# Use a Python image with uv pre-installed
3+
FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim AS uv
4+
5+
# Set the working directory
6+
WORKDIR /app
7+
8+
# Copy the project files
9+
COPY . .
10+
11+
# Install the project's dependencies
12+
RUN --mount=type=cache,target=/root/.cache/uv pip install .
13+
14+
# Set environment variables
15+
ENV ALLOW_COMMANDS="ls,cat,pwd,grep,wc,touch,find"
16+
17+
# Start the server using the local script
18+
ENTRYPOINT ["python", "-m", "mcp_shell_server.server"]

0 commit comments

Comments
 (0)