Add linkedin-mcp/Dockerfile

This commit is contained in:
zgaetano 2026-03-31 15:33:43 -04:00
parent c455cbd7dc
commit dca3c9dbd2

18
linkedin-mcp/Dockerfile Normal file
View file

@ -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"]