projecthorus / sondehub-tracker

🎈 Frontend for SondeHub Radiosonde Tracking
https://v2.sondehub.org
MIT License
59 stars 25 forks source link

Add a dockerfile #257

Closed MrARM closed 2 years ago

MrARM commented 2 years ago

Hey! Here's a small change to add a Dockerfile to test locally in a clean and environment-agnostic manner.

To use, you just need to build and run it, To build

docker build -t sondehub-tracker .

And, to run

docker run --rm -p 8000:8000 --name sondehub-tracker sondehub

If you'd like to run in the background and not terminate after you exit your terminal, replace --rm with -d.

LukePrior commented 2 years ago

Thanks, looks good.