Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker nodeapp

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.

Docker Pull Command
Owner
getable
Source Repository

Comments (0)