TypeScript Docker Container not working

I don’t know if that setting is correct. I can only ask a couple of quetions.

  1. What command did you use in the container to check that the port worked inside?
  2. Where and how did you configure the app to listen on port 8080?
  3. Have you tried curl from the container with the container IP instead of localhost??
  4. Have you tried the docker run command with a different host port like
    docker run -p 9999:8080 ts_server
    
    and then accessing it from a webbrowser on port 9999?

Also please check this guide to format your share codes with code blocks instead of quotes: How to format your forum posts