I posted this question on stackoverflow, too:
I successfully created a Bokeh server application (that is started with
bokeh serve MyAppFolder). I also managed to package the app in a docker image, with the correct port exposed. When I run a container with that image, I can access my webpage and everything works fine. For now.
Will this image still work in, say, 5 years? Are there things I should consider to improve the longevity?
I think the biggest potential problem is changing dependencies in the python libaries. This should not be an issue, because the docker image freezes everything in place.
I assume these references also exist in a bokeh server application, and that they are downloaded everytime the bokeh server is started.
Should I be worried that these links might break someday?
Is there any way to package those sources into my docker image?
It seems like this documentation is related to what I would like to achieve.
BOKEH_RESOURCES=server should allow to point to a static source for all the dependencies, but I am not sure how to properly use that.
Any other helpful guidance?