This repository is a Docker boilerplate for GO development and production.
- Copy
Dockerfileanddocker-compose.ymlto your project root. (Update the name of container if you want) - For development run
docker-compose upto start up the container which uses air to hot reload - For production use
prodtarget to get the smaller uses withdocker build -t GiveImageName . --target prod