Skip to content

Dockerfile for Nginx + Gunicorn + Flask... on Alpine Linux

Notifications You must be signed in to change notification settings

bambora-na/nginx-gunicorn-flask

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-gunicorn-flask

This repository contains files necessary for building a Docker image of Nginx + Gunicorn + Flask that runs on Alpine Linux.

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox. https://www.alpinelinux.org

Base Docker Image

Installation

  1. Install Docker.

  2. Clone this repo

git clone https://github.com/Beanstream/nginx-gunicorn-flask.git

3.) Build a local docker image

cd nginx-gunicorn-flask
docker build -t beanstream/nginx-gunicorn-flask:1.0.0 .

Usage

docker run -d -p 80:8080 beanstream/nginx-gunicorn-flask:1.0.0

After few seconds, open http://<host> to see the Flask app.

About

Dockerfile for Nginx + Gunicorn + Flask... on Alpine Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nginx 92.8%
  • Python 7.2%