Coder Social home page Coder Social logo

docker-nodejs-helloworld's Introduction

Docker node.js example app

To build a container:

$ make build

Following command will start Docker image in background

$ make run

you can test it with:

$ make test

or simply run:

curl -v localhost:43567

docker-nodejs-helloworld's People

Contributors

deric avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-nodejs-helloworld's Issues

missing script: start

I am getting below error when I am deploying this application on Openshift.

Environment:

  | DEV_MODE=false
  | NODE_ENV=production
  | DEBUG_PORT=5858
  | Launching via npm...
  | npm info it worked if it ends with ok
  | npm info using [email protected]
  | npm info using [email protected]
  | npm ERR! Linux 3.10.0-693.15.2.el7.x86_64
  | npm ERR! argv "/opt/rh/rh-nodejs4/root/usr/bin/node" "/opt/rh/rh-nodejs4/root/usr/bin/npm" "run" "-d" "start"
  | npm ERR! node v4.6.2
  | npm ERR! npm v2.15.1
  |  
  | npm ERR! missing script: start
  | npm ERR!
  | npm ERR! If you need help, you may report this error at:
  | npm ERR! https://github.com/npm/npm/issues
  |  
  | npm ERR! Please include the following file with any support request:
  | npm ERR! /opt/app-root/src/npm-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.