Skip to content

Conversation

@andrewginns
Copy link
Owner

Summary

  • add a Dockerfile that pre-installs Node/npm, mermaid-cli, and project dependencies with uv
  • add a merbench entrypoint script for running the multi-model evaluations by default
  • document a Docker quickstart workflow and provide Make targets for building and running the container

Testing

  • not run

Codex Task

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Dockerfile Outdated
Comment on lines 4 to 10
# Install Node.js and npm for mermaid-cli
RUN apt-get update \
&& apt-get install -y --no-install-recommends nodejs npm \
&& rm -rf /var/lib/apt/lists/*

# Install mermaid CLI globally
RUN npm install -g @mermaid-js/mermaid-cli

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Install Chromium runtime deps for mermaid-cli

The Docker image installs Node and @mermaid-js/mermaid-cli but never installs the system libraries that Puppeteer’s bundled Chromium requires. On Debian-bookworm bases, running mmdc without packages such as libnss3, libatk-bridge2.0-0, libgtk-3-0, libasound2, and fonts results in Error: Failed to launch the browser process before any diagrams are rendered. Because the entrypoint relies on mermaid-cli for the benchmark, the container will fail at runtime. Add the standard Chromium dependency packages during the apt-get install step so the CLI can start successfully.

Useful? React with 👍 / 👎.

@andrewginns
Copy link
Owner Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants