I\'ve been trying to figure this out in the last hours but I\'m stuck.
I have a very simple Dockerfile which looks like this:
FROM alpine:3.6
COPY gempbo
Your issue is that you are binding to the 127.0.0.1:8025
inside your code. This makes the code work from inside the container but not outside.
You need to bind to 0.0.0.0:8025
to bind to all interfaces inside the container. So traffic coming from outside of the container is also accepted by your Go app