Deploy a Node.js application - Dockerfile

Your project needs to contain a dockerfile according to your project. You can generate one automatically with

openode template

Then to deploy, just run:

openode deploy

Your instance will be considered up if it listens to port 80.

See this template example. You can import it automatically by running openode template as described above.

The template example is creating a starting script file (/boot.sh) which is run just before launching the application. Thus your deployment can be fully customized by editing this file.