I’m trying to set up a web service running inside binder or with repo2docker locally. I start with the most basic use case, running
python3 -m http.server 8888. I don’t see any documentation to run that service when creating the docker container with repo2docker. I’ve tried using the
--appendix 'CMD ["python3", "-m", "http.server", "8888"] flag but maybe not correctly.
I also want to access the web service, once running, via some URL like
http://localhost:12345/proxy/8888 but that only gives a 404 page, even when I run the service manually inside the container.
I have a sample repo here https://github.com/deeplook/harpology and would welcome any kind of hints. Thanks!