Skip to content

Conversation

@tdahar
Copy link

@tdahar tdahar commented May 28, 2024

Motivation

Right now the current setup allows the deployment through linux services. However, being able to deploy the through docker would allow anyone to easily run the full setup with a single command. With this Pull Request, we intend to develop the needed files to deploy the application with Docker.

Description

We need to create a docker-compose file and allow all the needed variables through the environment variables.

TODOs:

  • Create docker compose file
  • Forward all the needed environment variables into the application

Proof

Notes

We still need to figure out what is the best way to use the model inside the application, we we need to provide the path and mount the volume so that it is accesible.

santi1234567 and others added 6 commits May 16, 2024 11:24
* rename knn_classifier to classifier

* remove deprecated file

* support changing classifier type

* add classifier type flag

* update readme

* linting
* rename knn_classifier to classifier

* remove deprecated file

* support changing classifier type

* add classifier type flag

* update readme

* linting

* Add method to import persisted model and allow user to set env variable

* pickle is not needed anymore in the server file

* add workaround for using pickle with gunicorn

* linting

---------

Co-authored-by: Tarun <tarsuno@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants