Docker Community Forums

Share and learn in the Docker community.

Newbie question: should the app skeleton be included in my image?


(Masavini) #1

hi,
i’m very new new to docker and i’m starting a new project with node.js and meteor.
the project is made up of 3 distinct apps working together (1 worker and 2 “public” apps).
each app is a fork of this skeleton: https://github.com/jedwards1211/meteor-webpack-react

my plan is: write and store the 3 apps on my laptop, testing them launching 3 instances of the same docker image (node.js 4.1). each instance will use a different port and only mount the local directory where the corrisponding app is stored.

my question is: once i have my node.js image, shall i add the app skeleton to the image or should it be considered as part of the application itself?

thanks for your help…