Added docker files. Using python3.8 (which still has security updates), because newer python (at least 3.11) has conflicts with the dependencies.
Made sure it doesnt have to run as sudo. It needed to run as sudo because it was creating caching directories as sudo. I changed the caching directories to ~/.cache/openml.
I published the image to https://hub.docker.com/r/openml/frontend. This doesn't have a README yet. Adding a Readme to DockerHub isn't as simple as you'd think. The easiest way seems to be to setup automatic docker builds. I don't need that now, so I'm ignoring this for now.
You can test this PR manually by using
docker run --rm -d -p 5000:5000 --name openml-frontend openml/frontend
# go to localhost:5000
docker kill openml-frontend
~/.cache/openml
.I published the image to https://hub.docker.com/r/openml/frontend. This doesn't have a README yet. Adding a Readme to DockerHub isn't as simple as you'd think. The easiest way seems to be to setup automatic docker builds. I don't need that now, so I'm ignoring this for now.
You can test this PR manually by using