I have a Flask web app and the app renders a plotly graph in the web browser after a button is clicked. When I run my app, it works fine. Now I want to dockerize this app, I have already created a DockerFile and also created a container from the image. But when rn the ..
For a daily report Rmarkdown script that I would like to encapsulate in a docker container I face a problem with a plotly plot that is created from ggplot facet_grid and then transformed using ggplotly. When I run the script locally on R studio my plot is working as intended: When I run the script ..
I’m trying to run a dash app locally using: if __name__ == ‘__main__’: logging.basicConfig(filename=LOG_NAME,level=logging.DEBUG) app.css.config.serve_locally = True app.scripts.config.serve_locally = True app.run_server(port=8050, host=’0.0.0.0′) when I do, I get this exception: [26/Mar/2019 00:04:14] “GET /_dash-component-suites/dash_renderer/dash_renderer.min.js.map?v=0.21.0&m=1553528052 HTTP/1.1” 500 – ERROR:flask.app:Exception on /_dash-component-suites/dash_renderer/dash_renderer.min.js.map [GET] Traceback (most recent call last): File “/usr/lib/python3.6/site-packages/flask/app.py”, line 2292, in wsgi_app response = self.full_dispatch_request() File ..
I have a multi-page dash application that works as expected when running it locally with: waitress-serve –listen=0.0.0.0:80 web_app.wsgi:application so all the assets within the assets folder loads correctly, the images ar loaded with src=app.get_asset_url(‘xyz.png’) and have set app.css.config.serve_locally to true, as shown here everything loads working But when loading the same app within a docker ..