Skip to content

Update container server Dockerfile to work with monorepo #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025

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

@@ -18,42 +24,36 @@ RUN apt-get update && apt-get install -y \
build-essential \
nmap \
sudo \
ca-certificates \
lsb-release \
nodejs \
Copy link
Collaborator

@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