feat: enhance MCP server deployment instructions and add Docker support#322
Conversation
|
I feel we should use multistage docker builds because it would lead to smaller docker images and lesser attack surface |
|
Also for production dockerfiles, we should use docker hardened images as they have been made free for use a few months back |
Looked into multistage for prod earlier, it works, but only saves ~180–230 MB (3–6%) because ~6.5 GB of our image is Playwright + PyTorch/EasyOCR, which can't be build-stage-only. It also adds complexity around browser install, EasyOCR model paths, and cross-stage site-packages copies, I've had this break before. Modest compiler removal isn't worth the maintenance cost in this PR |
we can do this once with Mozark's account, DHI requires signing in dhi.io also its not a drop in replacement
we could you hardern the docker base image tags to SHA, to pin it in the future. |
Signed-off-by: Dhruv Menon <dhruvmenon1104@gmail.com>
|

Add Docker support for optics mcp (HTTP transport on port 8090)