I may be using this Dockerfile/container incorrectly but I have not yet been able to use it as a proxy for a very simple ExpressJS application that I have running.
Does this Dockerfile only serve static content that is provided by the mounted volume? I receive 502 errors when trying to use the proxy_pass directive. I'm not sure I quite understand how Docker contains ports but I can obviously access port 80 from outside the container. I guess a better question would be: is the container able to access my node server I have running on my localhost port 3000 (which is not part of the container)? Is there some configuration or is this just simply not possible?
I may be using this Dockerfile/container incorrectly but I have not yet been able to use it as a proxy for a very simple ExpressJS application that I have running.
Does this Dockerfile only serve static content that is provided by the mounted volume? I receive 502 errors when trying to use the
proxy_passdirective. I'm not sure I quite understand how Docker contains ports but I can obviously access port 80 from outside the container. I guess a better question would be: is the container able to access my node server I have running on my localhost port 3000 (which is not part of the container)? Is there some configuration or is this just simply not possible?