Sign inSign up

an2071497/flaskimg

By an2071497

•Updated about 2 years ago

Flask Python app Docker image for web development.

Image
Developer tools
Web servers
0

144

an2071497/flaskimg repository overview

This repository hosts a Dockerfile configured to build a Docker image for a Python application using Flask. Flask is a lightweight web framework that allows developers to build web applications quickly and efficiently in Python. The Dockerfile sets up an environment where the Flask application (app.py) can be easily deployed and run inside a Docker container.

⁠Key Components:

  • Base Image: Uses the official Python image as the base for compatibility and reliability.
  • Dependencies: Installs Flask using pip to handle web server functionality and route handling.
  • Execution Environment: Specifies the command to start the Flask application within the Docker container.
  • Exposed Port: Exposes port 5000 to allow external access to the Flask web server.

⁠Usage:

  • Run the Docker container using docker run -p 5000:5000 an2071497/flaskimg:v1
  • Access the Flask application in your browser at http://localhost:5000⁠

This repository is ideal for developers looking to containerize and deploy Python Flask applications efficiently.

Tag summary

Content type

Image

Digest

sha256:39bf43a61…

Size

369.1 MB

Last updated

about 2 years ago

docker pull an2071497/flaskimg:v1.2.1