summaryrefslogtreecommitdiff
path: root/servers/hello_world/Dockerfile
blob: 5bb24303a0c2eb8c4f2759ce75039a3f8fb328c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"]