File size: 537 Bytes
851e5ba | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | FROM python:3.12-slim
WORKDIR /app
ENV PYTHONUNBUFFERED=1 \
UV_SYSTEM_PYTHON=1
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl ca-certificates \
&& curl -LsSf https://astral.sh/uv/install.sh | sh \
&& apt-get purge -y --auto-remove curl \
&& apt-get clean \
&& find /var/lib/apt/lists -type f -delete
ENV PATH="/root/.local/bin:${PATH}"
COPY pyproject.toml uv.lock ./
COPY src/ ./src/
COPY README.md ./
RUN uv sync --frozen --no-dev
EXPOSE 9100
CMD ["/app/.venv/bin/supoclip-mcp"]
|