docker-nodejs-examples
docker-nodejs-examples copied to clipboard
A basic example of building a Node.js into a Docker container
docker-nodejs-examples
Some basic examples of using Node.js and Docker.
These examples acompany the blog post Crafting build pipelines with Docker.
You can run these directly with Docker.
Follow the developer on Twitter for updates.
Need to build a microservices application? Learn how to do this with Bootstrapping Microservices.
Need to do exploratory coding, data analysis and visualization in JavaScript/TypeScript? Check out Data-Forge Notebook
Setup
Clone this repo and check the readme files in simple
and multi
subdirectories.
Simplest example
The simple
sub-directory contains the simplest example of Node.js and Docker.
Multi-stage build
The multi
sub-directory shows an example of multi-stage Docker build that compiles TypeScript code.