docker-draw.io icon indicating copy to clipboard operation
docker-draw.io copied to clipboard

Image jgraph/drawio vs fjudith/draw.io in self-contained/ docker compose

Open fuminori-ido-m opened this issue 6 years ago • 1 comments

Dear,

I wondered why debian/Dockerfile generated docker process had an error as follows when I accessed it from my browser:

Access to XMLHttpRequest at 'https://rt.draw.io/cache?alive' from origin 'https://localhost:8443' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value 'https:/'.

...while self-contained/docker-compose.yml didn't.

What I find out is that the image is different. The former is latest built locally while the latter is https://hub.docker.com/r/jgraph/drawio

Unfortunately, the latter doesn't show Dockerfile so that I wonder how it is built.

Could you let me know how to fix this CORS error in either:

a) by fixing drawio itself b) by knowing how to build jgraph/drawio c) any other?

Thank you and best regards,

fuminori-ido-m avatar Nov 27 '19 02:11 fuminori-ido-m

The source of the jgraph/drawio image is here: https://github.com/jgraph/docker-drawio/tree/master/debian

krufab avatar Dec 11 '19 14:12 krufab