19 lines
406 B
Text
19 lines
406 B
Text
|
|
FROM python:3.12-slim-bookworm
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
COPY requirements.txt .
|
||
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
|
|
||
|
|
COPY sequential_thinking_mcp.py .
|
||
|
|
COPY entrypoint.py .
|
||
|
|
|
||
|
|
ENV PORT=8900
|
||
|
|
|
||
|
|
EXPOSE 8900
|
||
|
|
|
||
|
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s \
|
||
|
|
CMD python3 -c "import urllib.request; urllib.request.urlopen('http://localhost:8900/mcp', timeout=5)"
|
||
|
|
|
||
|
|
CMD ["python3", "entrypoint.py"]
|