Skip to content

Conversation

@courtney-sims
Copy link
Collaborator

Updated the original Dockerfile for the container MCP server to work with the new monorepo setup

  1. Base off a node image rather than ubuntu to simplify node installation side effects
  2. Swap npm to pnpm
  3. Separate the installation of ca-certificates from the other packages, because for whatever reason that seemed to get it to stop erroring on installation
  4. Install all python libraries as apt packages to avoid error
  5. Add turbo pruning to keep the lock file limited to only the needed packages for running the sandbox container
  6. Adjust build command to incorporate other needed files in the monorepo

sudo \
ca-certificates \
lsb-release \
nodejs \
Copy link
Contributor

@cmsparks cmsparks Apr 24, 2025

Choose a reason for hiding this comment

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

Do we still need nodejs if we're coming from the node base image?

Otherwise lgtm!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh nope lol. Thanks!

@courtney-sims courtney-sims merged commit 99836e5 into main Apr 25, 2025
6 checks passed
@courtney-sims courtney-sims deleted the wp-1594-courtney branch April 25, 2025 14:50
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.

2 participants