File size: 442 Bytes
e2bb7fc bd12dd4 e2bb7fc bd12dd4 e2bb7fc bd12dd4 e2bb7fc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
RUN groupadd -g 1000 appuser && useradd -m -u 1000 -g 1000 appuser
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY dateutil /app/dateutil
COPY app.py /app/app.py
ENV MCP_TRANSPORT=http
ENV MCP_PORT=7860
EXPOSE 7860
USER appuser
ENTRYPOINT ["python", "dateutil/mcp_output/start_mcp.py"]
|