Refactor Dockerfile and entrypoint script; add index.html.template and update example.env
with my setup.