Closed TanmoySG closed 2 years ago
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0')
Use host in app.run() to use the container
expose 5000
run using docker run -p 5000:5000 container-name
and test using curl 1xx.xxx.xxx:wxyz
1xx.xxx.xxx:wxyz being the IP, may also use localhost:5000
Works on Codespaces and Local - tested ✅
Tracking in #82 and #79
Containerize
wunderidentityprovider
using Docker for easy of use and portability. Further, the Azure Deployment will be torndown and replaced with docker container that can run in the development environment of other services to test integration with wIP.[Checkpoints]
docker-compose up
port
mapping andvolume
mapping