Node.js runtime image built on UDX Worker.
Quick Start • Usage • Development • Resources
UDX Worker Node.js is a Docker image that provides a ready-to-use Node.js runtime with the same operational model as udx/worker (https://github.com/udx/worker).
Requirements: Docker and Node.js (for the CLI).
- Install the deployment CLI (@udx/worker-deployment).
npm install -g @udx/worker-deployment- Generate a config and edit
deploy.ymlfor your app.
worker config- Run the container.
worker run-
Deploy configuration: https://github.com/udx/worker-deployment/blob/latest/docs/deploy-config.md
-
Service configuration: https://github.com/udx/worker/blob/latest/docs/runtime/services.md
-
Runtime config and secrets: https://github.com/udx/worker/blob/latest/docs/runtime/config.md
src/examples/simple-serveris included as a minimal sample.
git clone https://github.com/udx/worker-nodejs.git
cd worker-nodejs
make build
make testTo run a single test:
make run-test TEST_SCRIPT=10_validate_environment.shBuild defaults for contributors live in Makefile.variables (Node.js version, ports, build args).
- Base image docs: https://github.com/udx/worker/tree/latest/docs
- Deployment CLI: https://github.com/udx/worker-deployment/tree/latest/docs
- Docker Hub: https://hub.docker.com/r/usabilitydynamics/udx-worker-nodejs
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Open a Pull Request
Please ensure your PR includes appropriate tests and documentation updates.