https://github.com/azavea/docker-flask
Base Docker image for Flask and Gunicorn.
https://github.com/azavea/docker-flask
docker flask gunicorn
Last synced: 6 months ago
JSON representation
Base Docker image for Flask and Gunicorn.
- Host: GitHub
- URL: https://github.com/azavea/docker-flask
- Owner: azavea
- License: apache-2.0
- Created: 2016-05-24T13:56:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T21:18:10.000Z (over 2 years ago)
- Last Synced: 2025-04-03T07:12:27.868Z (6 months ago)
- Topics: docker, flask, gunicorn
- Language: Shell
- Size: 29.3 KB
- Stars: 5
- Watchers: 14
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-flask
This repository contains a collection of templated `Dockerfile` for image variants designed to support Flask through the Gunicorn WSGI HTTP server.
## Usage
### Template Variables
- `PYTHON_VERSION` - Python interpreter version
- `VARIANT` - Base container image variant### Testing
An example of how to use `cibuild` to build and test an image:
```bash
$ CI=1 VERSION=1.1 PYTHON_VERSION=3.7 VARIANT=alpine \
./scripts/cibuild
```