Public Repository

Last pushed: a day ago
Short Description
Docker Image for node apps with alpine linux and native dependencies
Full Description

node-build

Docker Image for node apps with alpine linux and native dependencies

Supported tags and respective Dockerfile links

Create a Dockerfile in your Node.js app project

FROM node:8-onbuild
# replace this with your application's default port
EXPOSE 3000

You can then build and run the Docker image:

docker build -t my-nodejs-app .
docker run -it --rm --name my-running-app my-nodejs-app

Notes

The image assumes that your application has a file named package.json listing its dependencies and defining its start script.

Docker Pull Command
Owner
lgatica

Comments (0)