I have a concern for how to move over from deployment to production.
== Overview ==
I had my local computer create the mean stack boilerplate stuff and
npm install on the local machine.
I run it as so
docker run -it --link my_mongo:db_1 -p 3000:3000 -v $PWD:/opt/mean.js npm start.
This works great locally.
== Issue ==
What is the best way to get the containerized project to a server? I have a couple of ways, but which is best or some pros/cons of each.
Use git to version the source code and all docker stuff. Pull from server from github/bitbucket.com. Use
docker-composeto construct it all for you.
Build an entirely new image containing the source files. Pull from server from hub.docker.com
In the Dockerfile have it pull from github/bitbucket the most recent source file for the app.