Files
agent-platform/mcp_tools/Dockerfile
T

17 lines
300 B
Docker
Raw Normal View History

2026-07-05 22:18:00 +02:00
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
COPY server.py .
RUN useradd -m -u 1000 mcpuser && chown -R mcpuser:mcpuser /app
USER mcpuser
EXPOSE 8501
CMD ["python", "server.py"]