How to run python flask api on Docker windows container?

Viewed 641

I have python flask code which i want to run in windows container. The OS that i'm using is windows 10.

My application runs well, But how can i dockerize my application?

from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
   return 'Hello World’

if __name__ == '__main__':
   app.run()
0 Answers
Related