Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.03 KB

DOCKERHUB.md

File metadata and controls

32 lines (22 loc) · 1.03 KB

Purpose

This application is a simple demonstration of streaming binary data (e.g. Word, Excel, PowerPoint and PDF) back using Flask. There are 2 types of data being streamed back; one being the binary file itself and the other being the base64 encoded version of the binary file. For now, when the binary file is streamed back, it is chunked; however, for the base64 encoded version, there is no chunking (someone work on that and contribute) as the whole file is read and then streamed back. Chunking is important to avoid memory issues.

Source

GitHub

Docker

Pull it.

docker pull oneoffcoder/nginx-stream-binary:latest

Run it.

docker run -it -p 80:80 --rm oneoffcoder/nginx-stream-binary

Observe it.