diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-03-28 20:53:41 +0100 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-03-28 20:53:41 +0100 |
| commit | 1745749cd2745c94c3f852e9c02dfde19d8d9c20 (patch) | |
| tree | 8ed13f3de5fac78d804124e27fbcf1b678e83253 /servers/hello_world/Dockerfile | |
Fix ruff errors and warnings in hello_world service
Diffstat (limited to 'servers/hello_world/Dockerfile')
| -rw-r--r-- | servers/hello_world/Dockerfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/servers/hello_world/Dockerfile b/servers/hello_world/Dockerfile new file mode 100644 index 0000000..5bb2430 --- /dev/null +++ b/servers/hello_world/Dockerfile @@ -0,0 +1,17 @@ +FROM python:3.11-slim + +WORKDIR /app + +# Copy only the requirements first to leverage Docker cache +COPY . . + +# Install dependencies +RUN pip install --no-cache-dir uv && \ + uv pip install --system --no-cache-dir -e . + + +# Expose the port for remote transport +EXPOSE 8080 + +# Run the server with remote transport by default +CMD ["mcp-hello-world", "--transport", "remote"] |
