https://github.com/logan-bobo/flask_app_container
A simple flask application running inside a container
https://github.com/logan-bobo/flask_app_container
docker flask python
Last synced: 2 months ago
JSON representation
A simple flask application running inside a container
- Host: GitHub
- URL: https://github.com/logan-bobo/flask_app_container
- Owner: logan-bobo
- Created: 2021-01-08T19:42:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-16T16:55:45.000Z (almost 3 years ago)
- Last Synced: 2025-06-01T18:38:18.801Z (about 1 year ago)
- Topics: docker, flask, python
- Language: Dockerfile
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting Started

This is a sample container running a Flask application! This will mainly be used when testing deployments and platforms like K8s, K3s, ECS, EKS, AKS or GKE.
## Prerequisites
* Docker
* make
## Building and running the container
1. Build the image
```sh
make build
```
2. Run the container image
```sh
make run
```
3. You will now be able to hit the application via a browser or just curl the page.
```sh
make test
```
## Directory Structure
```sh
.
├── app.py
├── Dockerfile
├── README.md
└── requirements.txt
```