Sync changes

This commit is contained in:
Morpheus Sandmann
2026-08-20 17:26:11 +01:00
parent 09acc31787
commit 91f74ab4e8
6 changed files with 640 additions and 21 deletions
+17 -6
View File
@@ -1,8 +1,19 @@
# Dockerfile
FROM python:3.11-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /app
RUN uv pip install --system fastmcp mcp
COPY server.py .
# Install system dependencies including git for version control operations
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* && pip install fastmcp mcp requests playwright markitdown && playwright install chromium --with-deps
RUN groupadd -g 1000 user && \
useradd -m -u 1000 -g 1000 -s /bin/bash user
WORKDIR /workspace
COPY server.py /app/server.py
USER 1000:1000
RUN playwright install
EXPOSE 8000
CMD ["python", "server.py"]
CMD ["python", "/app/server.py"]