We have config files called postBuild and start that are basically bash scripts that could be used to perform tweaks to the environment before your user arrives.
I would also look into voila for generating the webpage from the Notebook
https://voila.readthedocs.io/en/stable/deploy.html#deployment-on-binder