An open API service indexing awesome lists of open source software.

https://github.com/LudwingArandiaa/python-flask

A simple docker practice using Flask
https://github.com/LudwingArandiaa/python-flask

docker docker-compose docker-image dockerfile flask hello-world python

Last synced: about 1 year ago
JSON representation

A simple docker practice using Flask

Awesome Lists containing this project

README

          

# Simple Flask Docker Example

A basic Flask web application containerized with Docker for learning purposes. This project demonstrates how to:
- Dockerize a Flask application
- Create a `Dockerfile`
- Configure `docker-compose.yml`
- Use `.dockerignore`

## Prerequisites

- Docker installed ([Installation guide](https://docs.docker.com/get-docker/))
- Docker Compose (usually comes with Docker Desktop)

## Getting Started

### 1. Clone the repository

```sh
git clone git@github.com:LudwingArandiaa/python-flask.git
cd docker-image
```
### 2. Build and run with Docker Compose
```sh
docker-compose up --build
```