Skip to main content
Use Docker when you want to run Redop on your own infrastructure, on a container platform, or from a monorepo build pipeline.

Choose a Docker shape

Docker fit

Example src/index.ts

Use a listener shape like this in either Docker setup:

Single-project Dockerfile

This is the simplest Docker path for a normal Redop project.
Use this when:
  • your Redop app lives in one project directory
  • you do not need a compiled binary
  • you want the clearest Docker setup

Monorepo production Dockerfile

Use this when your Redop app lives inside a workspace and you want a slimmer runtime image.
Replace the example workspace paths with the real paths from your monorepo.

Tradeoffs

Listener expectations

No matter which Docker shape you use:
  • bind to 0.0.0.0
  • read PORT
  • expose /mcp
  • do not assume /mcp/health unless you enabled health

Local smoke test

Build the image:
Run it:
Verify it:
What success looks like:
  • the container starts without crashing
  • the app listens on 0.0.0.0:3000 inside the container
  • /mcp returns a valid initialize response

Next