Update Dockerfile
This commit is contained in:
@@ -13,8 +13,11 @@ RUN apt-get update && \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& pip install --no-cache-dir uv
|
||||
|
||||
# Copy ALL project files (including the mcp module)
|
||||
COPY . .
|
||||
# Copy project files
|
||||
COPY pyproject.toml poetry.lock ./
|
||||
COPY splunk_mcp.py ./
|
||||
COPY README.md ./
|
||||
COPY .env.example ./
|
||||
|
||||
# Install dependencies using uv
|
||||
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
|
||||
|
||||
# Default to SSE mode
|
||||
CMD ["python", "splunk_mcp.py", "sse"]
|
||||
CMD ["python", "splunk_mcp.py", "sse"]
|
||||
Reference in New Issue
Block a user