I have taken an alternative approach, by packaging the Bokeh app in a container, like the demo.bokeh.org. After a couple of hours of reading up on how GAE works, I have got it to work by adding the following
runtime: custom env: flex
And two changes in the
EXPOSE 8080as this is the port GAE listens to (I have removed ports 5006 and 80 just to be sure)
CMD bokeh serve --port 8080 ... (rest unchanged)so Bokeh also listens on 8080.
That did the trick for me, and am happy that for small projects and proof-of-concept stuff I can run a Bokeh app on GAE now. Thought it is useful to share it here for future benefit.