Skip to content

Modifying /prowler-studio/mcp_server/Dockerfile#80

Open
ChanJinYeon wants to merge 1 commit intoprowler-cloud:archive/old-versionfrom
ChanJinYeon:develop
Open

Modifying /prowler-studio/mcp_server/Dockerfile#80
ChanJinYeon wants to merge 1 commit intoprowler-cloud:archive/old-versionfrom
ChanJinYeon:develop

Conversation

@ChanJinYeon
Copy link
Copy Markdown

@ChanJinYeon ChanJinYeon commented Aug 14, 2025

When following the instructions in prowler-studio/docs/mcp_server.md in the AWS EC2 environment, the following error occurred.

$ docker run --rm -i -e GOOGLE_API_KEY=[Google API Key] prowler-studio-mcp-server
  × Failed to build `prowler-studio-mcp-server @
  │ file:///home/prowler_studio/prowler_studio/mcp_server`
  ├─▶ Failed to parse entry: `prowler-studio-core`
  ╰─▶ `prowler-studio-core` references a workspace in `tool.uv.sources` (e.g.,
      `prowler-studio-core = { workspace = true }`), but is not a workspace
      member

To resolve this, we modified the Dockerfile as follows.

FROM ghcr.io/astral-sh/uv:python3.13-alpine

LABEL maintainer="https://github.com/prowler-cloud"

RUN apk add --no-cache cargo

RUN addgroup -g 1000 prowler_studio && \
    adduser -D -u 1000 -G prowler_studio prowler_studio

USER prowler_studio

COPY --chown=prowler_studio:prowler_studio ./ /home/prowler_studio/prowler_studio

WORKDIR /home/prowler_studio/prowler_studio/mcp_server

RUN uv sync --frozen --no-dev --no-editable --no-cache

ENTRYPOINT [“uvx”, “/home/prowler_studio/prowler_studio/mcp_server/”]

I confirmed that it works normally after the modification.

$ docker run --rm -i -e GOOGLE_API_KEY=[Google API Key] prowler-studio-mcp-server
Building prowler-studio-core @ file:///home/prowler_studio/prowler_studio/core      Building prowler-studio-mcp-server @ file:///home/prowler_studio/prowler_studio/mcp_server
Downloading google-api-python-client (13.3MiB)
Downloading google-ai-generativelanguage (1.3MiB)...

@puchy22 puchy22 changed the base branch from main to archive/old-version November 5, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant