- using COPY instead of ADD, since working with local paths, and
not extracting archived data
- installing packages before building application binary improves caching,
and avoids installing packages every time the application code changes
Signed-off-by: Anastas Dancha <anapsix@random.io>
- adding `Dockerfile` and `.git/` to `.dockeringore` improves
caching when building images when these paths have changes
unrelated to application functionality
Signed-off-by: Anastas Dancha <anapsix@random.io>