How to setup flask-socketio in a docker container?
问题 Hello I'm trying to setup flask-socketio in a docker container. It seems to run but I get an error( from the browser) when I try to access localhost on port 5000 like I'm used to do with flask apps. It say's: unable to connect! I will show you the 5 important files: Dockerfile, requirements.txt, docker-compose.yml, web_app.py and index.html Dockerfile: FROM python:3.6.5 WORKDIR /code COPY * /code/ RUN pip install -r requirements.txt requirements.txt: Flask==1.0.2 Flask-SocketIO==3.0.1