silver-docker v2.6.1
Silver Docker Dev

Attention, this project currently only support for build and deploying every Frontend Application that using Node 8 (or later) as engine (like VueJS, Nuxt, React and more).
Simplify process to Build & Serve multiple container with single command.
Why
This tool i make to help my team on serving multiple micro-frontend on single Docker. With single configuration and versioning, they can push the project one-by-one to the git and CI/CD will send it to VPS. And then, Silver will be help to create Dockerfile, Docker Image with Version and re-create it with Docker-Compose.
Consideration
This project maybe having a hidden bug that i can't found or solve today. So, thank you to all those who have tried and helped resolve the problem.
Attention
Silver will be not work perfectly, if you doing like this :
- You change manualy the project inside VPS and commit them to git.
- Removing the Docker Image that used on silver.yml & docker-compose.
- Manual Pull-ing or Stash-ing the project inside VPS
This problem cause Silver work with Git Status/Fetch Origin. So, if the project doesn't have a changing Silver will be ignore to Build it into Docker image.
Requirement
- Node v8.12.0 or later
- NPM v6.8.0 or later
- Docker v18.09.2 or later
Usage
- Use
npm install -g silver-dockerto install silver on your machine - Run
silver initto create configuration file - Make sure you've already create configuration file like example
- Run
silver buildto download source and build latest binary image - Run
docker-compose up -dorsilver compose(this is equal but must simpler)
Commnad
silver editorcurrently is not activated, soon this command will be help you to inspect and runsilver buildon the fly using https://coder.com binary.
General Flow

Image Building Flow

Author
This project build and maintained by Muhibbudin Suretno
License
This project under MIT License