Closed koraysels closed 6 years ago
I FOUND IT!
for everyone who's having the same problem :
you need to make sure the dev server and everything you serve from within a docker container is doing this on 0.0.0.0
and not localhost
Thanks for sharing your solution. I'm curious, what's your reasoning for wanting to develop the app within a Docker container?
I am trying to get this project to run in a docker environment. This is my
Dockerfile
:This is my
docker-compose.yml
fileI have succeeded to get the server part up and running and I can access the localhost:9000 and it gives me the 'Loading...' screen. Also I think the client part works, because i have this output:
but I cannot browse to the app.
http://localhost:8080
gives me aERR_CONNECTION_REFUSED
any advise ?