Update Dockerfile
This commit is contained in:
@@ -13,8 +13,11 @@ RUN apt-get update && \
|
|||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& pip install --no-cache-dir uv
|
&& pip install --no-cache-dir uv
|
||||||
|
|
||||||
# Copy ALL project files (including the mcp module)
|
# Copy project files
|
||||||
COPY . .
|
COPY pyproject.toml poetry.lock ./
|
||||||
|
COPY splunk_mcp.py ./
|
||||||
|
COPY README.md ./
|
||||||
|
COPY .env.example ./
|
||||||
|
|
||||||
# Install dependencies using uv
|
# Install dependencies using uv
|
||||||
RUN uv pip install --system poetry && \
|
RUN uv pip install --system poetry && \
|
||||||
@@ -43,4 +46,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|||||||
CMD curl -f http://localhost:${FASTMCP_PORT}/health || exit 1
|
CMD curl -f http://localhost:${FASTMCP_PORT}/health || exit 1
|
||||||
|
|
||||||
# Default to SSE mode
|
# Default to SSE mode
|
||||||
CMD ["python", "splunk_mcp.py", "sse"]
|
CMD ["python", "splunk_mcp.py", "sse"]
|
||||||
Reference in New Issue
Block a user