This repository contains a simple Flask (Python) based web application, that asks the user name, and displays a personalized greeting with the entered name.
Create a Dockerfile with suitable commands to create an image that enables a container to run this application on port 5685, after installing any necessary dependencies. Creation of Dockerfile is enough, and creation of the image is not necessary. The created Dockerfile can be uploaded in the last section of the questionnaire given in the instructions.
GET /
: Renders the homepage, prompting the user to enter his/her name.POST /mainpage
: Renders a page, that displays a greeting with the name given by the user in the main page
- app.py : Entry point for the application
- requirements.txt : Contains the list of necessary dependencies for the app to run.
- templates : Folder containing templates
- index.html : Template for
GET /
- mainpage.html : Template for
POST /mainpage
- index.html : Template for