Adding Tomas into CC, he maintains nodejs and has better
knowledge what it means to run nodejs app.
My nodejs-unexperienced thought would be you can create
a new docker image, that will use `FROM:
* add the app code somewhere into the image (e.g. into
* changing CMD to run your application on pure `docker
Or, theoretically, you don't have to create a new layer
(image), just use volume mounting to get your app into
the container. It would mean to run the image this way:
But I may be also wrong about how it is the best to do
it. Or whether this way is something we should or
Sharing also to the ML, maybe others might have
different opinions/ideas or at least issues.
On 08/06/2015 03:42 PM, David Martin wrote:
If there's a recommended way to use the sti nodejs
image for simply
running a node app, that'd be great.
I'll spend some time trying to figure it out as I
can't find Usage docs
other than doing an sti build.
what I did when testing sti-nodejs, was that I have build
sti-base from scratch for rhel7. You will end up with
build sti-nodejs afterwards you will have
openshift/nodejs-010-rhel7 in you local images list. Now you
are ready to build&run your nodejs application image
with sti, like explained in usage.