mirror of
https://github.com/run-llama/mcp_resume_screening.git
synced 2026-06-30 21:57:58 -04:00
20 lines
393 B
Docker
20 lines
393 B
Docker
# Use the official Python lightweight image
|
|
FROM python:3.13-slim
|
|
|
|
# Install uv
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
|
|
|
# Install the project into /app
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
# Allow statements and log messages to immediately appear in the logs
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
# Install dependencies
|
|
RUN uv sync
|
|
|
|
EXPOSE $PORT
|
|
|
|
# Run the FastMCP server
|
|
CMD ["uv", "run", "server.py"] |