ashleydavis / docker-nodejs-examples

A basic example of building a Node.js into a Docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A basic example of building a Node.js into a Docker container

License:MIT License


Languages

Language:Dockerfile 49.0%Language:TypeScript 25.6%Language:JavaScript 25.4%