Sign inSign up

lgatica/node-runtime

By lgatica

Updated almost 8 years ago

Docker onbuild image for ligth node apps with alpine linux

Image
0

1.7K

lgatica/node-runtime repository overview

node-runtime

dockeri.co

Build Status

Docker onbuild image for ligth node apps with alpine linux

Supported tags and respective Dockerfile links

Create a Dockerfile in your Node.js app project

NOTE: this image depend of a node onbuild image. For example node:8-onbuild.

FROM lgatica/node:10-onbuild as builder
FROM lgatica/node-runtime

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.

Tag summary

Content type

Image

Digest

Size

2.1 MB

Last updated

almost 8 years ago

docker pull lgatica/node-runtime