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

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

Awesome Lists containing this project

README

          

# Getting Started

![Build Status](https://github.com/logan-bobo/flask_app_container/actions/workflows/docker-image.yml/badge.svg)

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
```