- Fixed incorrect path /KNEL/KNEL-AIMiddleware/ to /KNEL-AIMiddleware/ - Added discourse and penpot MCP configurations to crush.json - Tracked 10 new wrapper scripts for pending MCP servers - Added paperless-mcp and postizz-mcp Dockerfiles - Updated JOURNAL.md with today's work entry 💘 Generated with Crush Assisted-by: GLM-5 via Crush <crush@charm.land>
22 lines
563 B
Docker
22 lines
563 B
Docker
FROM python:3.12-slim
|
|
|
|
# Install uv for faster package management
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy the main project
|
|
COPY snipeit-mcp /app/
|
|
|
|
# Replace local snipeit-api dependency with PyPI package
|
|
RUN sed -i 's|snipeit-api @ file:///Users/work/Documents/Projects/Inventory/snipeit-python-api|snipeit>=1.1|g' pyproject.toml
|
|
|
|
# Install the project with uv
|
|
RUN uv venv && uv pip install --no-cache -e .
|
|
|
|
# Set up environment
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PATH=/app/.venv/bin:$PATH
|
|
|
|
ENTRYPOINT ["python", "-m", "snipeit_mcp"]
|