abique / hefur

Standalone C++ BitTorrent tracker
MIT License
192 stars 30 forks source link

Adds Dockerfile #40

Closed EnigmaCurry closed 2 years ago

EnigmaCurry commented 2 years ago

For anyone that wanted to run hefur in Docker, here is a Dockerfile to build the container image.

This is a multi-stage Dockerfile, so it installs the development dependencies and builds the executable, and then builds a second clean image and copies just the final binary into it.

abique commented 2 years ago

Thanks!