Sign inSign up

kvngjohn/python-hello-world

By kvngjohn

•Updated about 2 years ago

A basic Flask application Docker image based on Python 3.11, for learning and deploying Flask apps.

Image
Languages & frameworks
Data science
0

751

kvngjohn/python-hello-world repository overview

Project: Python Flask Application

This repository contains a simple Python Flask application designed for demonstration purposes. It includes configurations to run the application in a Docker container.

Key Features:

  1. Flask Framework: Lightweight web application framework.
  2. Docker: Includes Dockerfile for containerization.
  3. Dependencies: Managed with requirements.txt.
  4. Virtual Environment: Setup instructions included.

Clone the Repository: git clone https://github.com/kvngjohn/python-hello-world.git⁠

Set Up a Virtual Environment: python -m venv venv

Install Dependencies: pip install -r requirements.txt

Run the Flask Application: python app.py

Build a Docker Image: docker build -t kvngjohn/python-hello-world:latest .

Run a container: docker run -p 5000:5000 kvngjohn/python-hello-world:latest

Tag summary

Content type

Image

Digest

sha256:3225cd52b…

Size

61.7 MB

Last updated

about 2 years ago

docker pull kvngjohn/python-hello-world