Add Dockerfile
It adds a Dockerfile and includes the ability to set trusted proxies from within a variable. With other changes, all static files are kept inside the built program.
Would be great if this can be merged by the maintainer. They can also add a GitHub action to automatically push to docker hub or GitHub registry.
Why do we need the trustedProxies? Mind if I ask?
Why do we need the
trustedProxies? Mind if I ask?
looking at it, I'd say it doesn't change a thing. it just exposes it to usage via environment variables, for anyone wanting to use something else than 127.0.0.1 there.
I cherry picked some commits, but changed quite a bit. There is also github action and build on dockerhub: https://hub.docker.com/r/meehow/privtracker