Skip to content

Getable/docker-nodeapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

docker nodeapp The official docker image

A generic container for spinning up node apps.

Usage

  1. Add a Dockerfile to your repo.

    FROM getable/nodeapp
  2. Build: docker build -t myNodeApp .

  3. Run: docker run -d --restart=always -P myNodeApp

Notes

  • NODE_ENV defaults to production. You can override by passing an env var to the run script with: -e "NODE_ENV=staging"
  • The docker file exposes port 80.

Developing

Pushing to this repo pushes to the official docker image.

About

A generic container for node apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published