diff --git a/Dockerfile b/Dockerfile index 617d5d0..3da7943 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +CMD ["python", "splunk_mcp.py", "sse"] \ No newline at end of file