- Have 2 environments
- Use
make
to shorten docker compose commands - Have an
.env
files to configure the project
Using NodeJS
as an example project to demonstrate the building process; so the packages-*
and .js
can be completely ignored and removed. Also check what the Dockerfile
does.
- Clone this repo
- Create
.env
file from theenv.example
and tweak it as needed
All are ran using the environment
set in the .env file
make build
make up
make down
make logs
make push
make release
- Publish to registry/hub