Dockerized Flask App
This repository contains a Dockerized Flask web application.
Prerequisites
Before you can run this application, you need to have the following tools installed on your system:
- Docker
- Docker Compose
Getting Started
-
Clone this repository to your local machine:
-
Change to the project directory:
cd flask-chatapi
-
Build the Docker image:
docker build -t flask-app .
-
Run the application using Docker Compose:
docker-compose up
This will start the Flask app and the associated database.
-
Open your web browser and navigate to http://localhost:5000 to access the Flask application.
Stopping the Application
To stop the application and remove the containers, press Ctrl+C in your terminal to stop the docker-compose up command. Then, run:
docker-compose down
Configuration
You can configure the Flask application and database by modifying the environment variables in the docker-compose.yml file.
License
This project is licensed under the MIT License. See the LICENSE file for details.