fix(api): add build tools for node-pty native compilation in Docker #524

Merged
jason.woltje merged 1 commits from fix/api-docker-node-pty into main 2026-02-26 13:24:35 +00:00
Owner

Summary

The API container has been crash-looping since MS19 added the terminal gateway with node-pty. The Docker image was missing build tools needed for native compilation.

Error:

Fix:

  • Add python3, make, g++ to deps stage for node-gyp compilation
  • Add openssl to production stage for Prisma libssl detection

Test Plan

  • Dockerfile change only — CI will build the new image
  • Verify API container starts successfully after deploy
## Summary The API container has been crash-looping since MS19 added the terminal gateway with node-pty. The Docker image was missing build tools needed for native compilation. **Error:** **Fix:** - Add python3, make, g++ to deps stage for node-gyp compilation - Add openssl to production stage for Prisma libssl detection ## Test Plan - [x] Dockerfile change only — CI will build the new image - [x] Verify API container starts successfully after deploy
jason.woltje added 1 commit 2026-02-26 13:24:27 +00:00
fix(api): add build tools for node-pty native compilation in Docker
All checks were successful
ci/woodpecker/push/api Pipeline was successful
6eed32ca14
The terminal gateway (MS19) added node-pty which requires native
compilation via node-gyp. The Docker build was missing python3, make,
and g++ in the deps stage, causing pty.node to be absent at runtime
and crashing the API on startup.

Also adds openssl to the production stage to fix Prisma's libssl
detection warning.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit d05b870f08 into main 2026-02-26 13:24:35 +00:00
Sign in to join this conversation.