How do you expose port 3000 using an Azure Web App Container?

后端 未结 1 568
一整个雨季
一整个雨季 2021-02-07 05:28

I\'m running a react boilerplate app within a docker container, hosted Azure Web App Containers.

Locally, I spin the app up with:

docker run -p 3000:3000 4         


        
相关标签:
1条回答
  • 2021-02-07 06:23

    User 4c74356b41 is correct.

    In APPLICATION SETTINGS you need to set the key / value pair WEBSITES_PORT.

    For some reason it's not working on this image, but I went through another example and did it all through the command line, and it worked fine.

    0 讨论(0)
提交回复
热议问题