16 lines
285 B
Docker
16 lines
285 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN pip install --no-cache-dir "mcp[cli]>=1.2.0" "httpx>=0.27"
|
|
|
|
COPY server.py .
|
|
|
|
ENV MCP_TRANSPORT=streamable-http \
|
|
MCP_HOST=0.0.0.0 \
|
|
MCP_PORT=8311 \
|
|
RU_REGIONS_CACHE_PATH=/data/cache.sqlite
|
|
|
|
EXPOSE 8311
|
|
|
|
CMD ["python", "server.py"]
|