Sign inSign up

cloudsmithy/flask-demo

By cloudsmithy

โ€ขUpdated over 1 year ago

A minimal, production-ready Flask app containerized with Docker.

Image
Developer tools
Web servers
1

804

cloudsmithy/flask-demo repository overview

โ ๐Ÿณ flask-demo

A minimal, production-ready Flask app packaged in a multi-architecture Docker image (x86_64 & arm64).
Ideal for running on both cloud servers and edge devices like Raspberry Pi or Apple M-series Macs.


โ โœ… Features
  • ๐Ÿงฑ Gunicorn as WSGI server for production
  • ๐Ÿณ Dockerized with a lightweight Python 3.12-slim base image
  • โš™๏ธ Multi-arch support: linux/amd64 and linux/arm64
  • ๐Ÿš€ Ready for use with docker run or docker-compose
  • ๐Ÿ”„ GitHub Actions for automated tag-based builds and pushes

โ ๐Ÿ Getting Started
โ 1. Pull the image
docker pull cloudsmithy/flask-demo:latest
โ 2. Run it
docker run -p 5000:5000 cloudsmithy/flask-demo:latest

Then open your browser at http://localhost:5000โ 


โ ๐Ÿงช Sample Response
Hello from multi-arch Flask Docker in production mode!

โ โš™๏ธ Docker Compose
version: '3'
services:
  flask-app:
    image: cloudsmithy/flask-demo:latest
    ports:
      - "5000:5000"
    restart: always

โ ๐Ÿ“ฆ Architecture Support
PlatformStatus
linux/amd64โœ… supported
linux/arm64โœ… supported

Built with Docker buildx and QEMU for full multi-platform support.


โ ๐Ÿ› ๏ธ Use in GitHub Actions

To automate multi-arch builds using Git tags:

docker buildx build --platform linux/amd64,linux/arm64 -t cloudsmithy/flask-demo:<tag> --push .
โ ๐Ÿ” Maintainer

Made with โค๏ธ by cloudsmithyโ 
Feel free to open issues or PRs on the GitHub repoโ  (example link)

Tag summary

Content type

Image

Digest

sha256:ac96063d9โ€ฆ

Size

48.3 MB

Last updated

over 1 year ago

docker pull cloudsmithy/flask-demo