Is there an existing issue for this?
Current Behavior
the below Mux HandlerFunc works well.
func WsHandler(rw http.ResponseWriter, r *http.Request) {
ws, err := upgradeConn.Upgrade(rw, r, nil)
if err != nil {
log.Println(err)
}
log.Println("connected to the ws ep.")
conn := WsConn{ws}
clients[conn] = WsConnDetail{}
go WsListener(&conn)
}
Expected Behavior
but the WS connection is not available after building the application docker image and running the container.

Steps To Reproduce
docker-compose
version: "3.8"
services:
core:
container_name: webrtc_service
build:
context: .
dockerfile: Dockerfile
image: rtc
restart: always
ports:
- "8080:8080"
networks:
- admin-service
```
### Anything else?
Dockerfile
```
FROM golang:1.21.6
WORKDIR /app
COPY . .
ENV GO111MODULE on
ENV GOPROXY https://goproxy.cn
# RUN go test -v .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o main presenter/main.go
RUN chmod +x main
CMD ["/app/main"]
```
Is there an existing issue for this?
Current Behavior
the below Mux HandlerFunc works well.
Expected Behavior
but the WS connection is not available after building the application docker image and running the container.

Steps To Reproduce
docker-compose