This repository contains a Dockerized Flask application that uses an ARM-compatible base image for Python.
Before you begin, ensure you have the following installed:
- Docker: Install Docker
First, clone this repository to your local machine:
git clone https://github.com/ksharma67/Flask
cd Flask
To build the Docker image for the Flask application, run the following command:
docker build -t flask-app .
Once the Docker image is built, you can run a Docker container with the following command:
docker run -p 8080:8080 flask-app
This command maps port 8080 of the Docker container to port 8080 of your local machine. You can replace 8080:8080 with any other port if needed.
After running the container, you can access the Flask application at http://localhost:8080 in your web browser.