from development to production workflow
Docker: Dev to Production playlist
How to create a docker-based LAMP stack using docker-compose on Ubuntu 18.04 Bionic Beaver Linux
I'm an inline-style link with title
# assuming NodeJS & Docker are installed locally
npm install
docker-compose up -d
# -d : to run in background
# Tear down
docker-compose down
# To be able to edit files, add volume to compose file
volumes: ['./:/usr/src/app']
# To re-build
docker-compose build
# Run in Docker
docker-compose -f docker-compose-production.yml up -d --build