Minimal reference repository for creating containerised Node.js applications on Doprax.
This repository provides a ready-to-build, single-container Node.js service with:
- Deterministic Docker build
- No framework lock-in
- Health endpoint for liveness/readiness
- Non-root runtime
Learn more about Doprax: https://www.doprax.com
/– liveness check/health– readiness check
docker build -t doprax-container-sample-nodejs .
docker run --rm -e PORT=3000 -p 3000:3000 doprax-container-sample-nodejsAccess locally at http://localhost:3000.
- Replace
src/index.tswith your application code - Add dependencies to
package.jsonas needed - Extend the Dockerfile if additional OS packages are required
- Update the health endpoints if your service has custom readiness/liveness requirements
Fork this repository to create your own Doprax container project. The structure is minimal and intended as a reusable template for any Node.js service.