realKyawSwar / docker-workshop

A dash app and api with docker compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Workshop

Written for Statistics Canada

Blair Drummond, January 2020

Exercise

Build dash app with a file upload feature, and send the files to an ML api for classification.

The python code is provided; the exercise is to write the Dockerfiles and docker-compose.yml file that tie the system together

Getting Started

  1. Install Docker
  1. Install docker-compose with pip install --user docker-compose

  2. Download this repository.

Exercises

  1. Try to run the dash app with docker-compose up...

Then test the app on localhost:8888

  1. Try to come up with a new model for the classification and integrate it.

  2. How would you make the storage persistent?

  3. HARD: Figure out how to use a production-grade webserver (uwsgi or gunicorn)

About

A dash app and api with docker compose

License:GNU General Public License v3.0


Languages

Language:Python 92.4%Language:Dockerfile 7.6%