mcp-server-demo/Dockerfile
2025-07-04 14:35:25 +02:00

15 lines
278 B
Docker

FROM python:3.12-slim-bookworm
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Copy the project into the image
ADD . /app
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /app
RUN uv sync
EXPOSE 8000
CMD ["uv", "run", "mcp_server.py"]