Initial commit
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
# 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", "/app/server.py"]
|
||||
Reference in New Issue
Block a user