The container application image has the following requirements;
- A Dockerfile.
- A working directory called /opt/flask_insurance
- Python version 3.8
- Python Libraries – pandas, Flask and scikit-learn (please use a requirements.txt file)
- Index.html form which should be rendered using the render_template function.
- Result.html which will display the predicted charges, and which should be rendered using the render_template function also.
- Model.py which will train the linear regression model.
- Insurance.csv which is the dataset that is required to train the linear regression model.
- Flaskapp.py which will deploy the model through a Web application and accept input from the user, pass it to the model and return the results.