Skip to content

Commit d91890e

Browse files
committed
build: change wheel to sdist install
1 parent ff91bda commit d91890e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
1717
uv sync --locked --no-editable --no-dev
1818

1919
RUN uv build
20-
RUN mv ./dist/sysdig_mcp_server-*-py3-none-any.whl /tmp/sysdig_mcp_server-1.0.0-py3-none-any.whl
20+
RUN mv ./dist/sysdig_mcp_server-*.tar.gz /tmp/sysdig_mcp_server.tar.gz
2121

2222
# Final image without uv
2323
FROM python:3.12-slim
@@ -28,9 +28,9 @@ WORKDIR /app
2828

2929
RUN apt update && apt install -y git
3030
# Copy the application from the builder
31-
COPY --from=builder --chown=app:app /tmp/sysdig_mcp_server-1.0.0-py3-none-any.whl /app
31+
COPY --from=builder --chown=app:app /tmp/sysdig_mcp_server.tar.gz /app
3232
COPY --from=builder --chown=app:app /app/app_config.yaml /app
3333

34-
RUN pip install /app/sysdig_mcp_server-1.0.0-py3-none-any.whl
34+
RUN pip install /app/sysdig_mcp_server.tar.gz
3535

3636
ENTRYPOINT ["sysdig-mcp-server"]

0 commit comments

Comments
 (0)