diff --git a/mcp-gateway/linkedin-mcp/Dockerfile b/mcp-gateway/linkedin-mcp/Dockerfile new file mode 100644 index 0000000..266b0d0 --- /dev/null +++ b/mcp-gateway/linkedin-mcp/Dockerfile @@ -0,0 +1,18 @@ +FROM python:3.12-slim + +WORKDIR /app + +RUN pip install --no-cache-dir httpx uvicorn starlette + +COPY server.py . + +RUN mkdir -p /data + +ENV PORT=8500 + +EXPOSE 8500 + +HEALTHCHECK --interval=30s --timeout=5s --start-period=10s \ + CMD python3 -c "import urllib.request; urllib.request.urlopen('http://localhost:8500/health', timeout=5)" + +CMD ["python3", "server.py"]