Skip to content

blairdrummond/docker-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published