Skip to content

About

Minimal Node.js container template for Doprax. TypeScript-based HTTP service with health endpoints, ready to build and run in a container. Forkable as a starter for your own containerised applications.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Doprax Container Sample – Node.js

Minimal reference repository for creating containerised Node.js applications on Doprax.

About

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

Endpoints

  • / – liveness check
  • /health – readiness check

Build and run locally

docker build -t doprax-container-sample-nodejs .
docker run --rm -e PORT=3000 -p 3000:3000 doprax-container-sample-nodejs

Access locally at http://localhost:3000.

How to adapt

  • Replace src/index.ts with your application code
  • Add dependencies to package.json as needed
  • Extend the Dockerfile if additional OS packages are required
  • Update the health endpoints if your service has custom readiness/liveness requirements

Usage

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.

About

Minimal Node.js container template for Doprax. TypeScript-based HTTP service with health endpoints, ready to build and run in a container. Forkable as a starter for your own containerised applications.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages