15 lines
278 B
Docker
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"] |