Add linkedin-mcp/Dockerfile
This commit is contained in:
parent
c455cbd7dc
commit
dca3c9dbd2
1 changed files with 18 additions and 0 deletions
18
linkedin-mcp/Dockerfile
Normal file
18
linkedin-mcp/Dockerfile
Normal 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"]
|
||||
Loading…
Reference in a new issue