kostaleonard / theblockchainkiller

Leo's anti-The Blockchain
MIT License
4 stars 1 forks source link

improve Dockerfile #25

Open m2Giles opened 8 months ago

m2Giles commented 8 months ago

The current Dockerfile leaves all build tools on the deployed image.

Instead use a builder to build the application and then only explicitly copy the binary to the container.

Additionally, alpine:latest is unpinned to a release. Explicitly pin to a release.