nervosum / proof-of-concepts

Proof of concepts for exploring ideas
0 stars 0 forks source link

PoC: Dockerize wrapped model #2

Open bbroeksema opened 3 years ago

bbroeksema commented 3 years ago

Goal:

Learn how to wrap model and wrapping code in distroless docker image

Starting point: model code of #1 :

/py-model
  /model     # model code
  /wrappper  # application code
  requirements.txt
  Dockerfile  # <- The PoC is about this file

Relevant links:

Definition of Done

Dependencies:

create-issue-branch[bot] commented 3 years ago

Could not create branch (Git Repository is empty.)

GuidoTournois commented 3 years ago

Do I understand correctly, that training the model is not in scope of this story? In other words, we assume the docker has access to a trained model (either by mounting a volume or retrieving it from a storage location) and that the model code merely acts as the interface with this model?

create-issue-branch[bot] commented 3 years ago

Branch issue-2-PoC_Dockerize_wrapped_model created!

bbroeksema commented 3 years ago

Do I understand correctly, that training the model is not in scope of this story? In other words, we assume the docker has access to a trained model (either by mounting a volume or retrieving it from a storage location) and that the model code merely acts as the interface with this model?

Yes, indeed! You can just reuse the directory from PoC 1 in this PoC to get started quickly -> literally copy/paste and add a Docker file to get started with the building process.