kostaleonard / leocoin

Leo's cryptocurrency
MIT License
4 stars 1 forks source link

improve Dockerfile #25

Open m2Giles opened 9 months ago

m2Giles commented 9 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.