Question: Create a simple Python Flask application o Your application should have two different routes GET / add - uses the query string to obtain two
Create a simple Python Flask application
o Your application should have two different routes
GET add uses the query string to obtain two input values and returns the result of the
addition of those two values
POST sub uses the post body to obtain two input values and returns the result of the
subtraction of those two values
o Create the needed requirements.txt file
Create three different docker images from that one application
o Image
Base image ubuntu
Host port Container Port
o Image
Base image alpine
Host port Container Port
o Image
Base image python
Host port Container Port
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
