zetorange1 / algo-deploy-scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

algo-deploy-scripts

Scripts to deploy algorithms and logic to be part of our setup

docker run --name jupyter -p 8888:8888 --user root -e GRANT_SUDO=yes -e JUPYTER_ENABLE_LAB=yes -v ${PWD}:/home/jovyan/work --network=host jupyter/minimal-notebook:python-3.8.8
sudo apt-get update
sudo apt-get install gcc curl -y
pip install wheel ocean-lib numpy matplotlib python-dotenv

Docker container

Build

docker build . -t registry.dataunion.app/dataunion-algo:latest

Push

docker image push registry.dataunion.app/dataunion-algo:latest

Run locally

docker run --rm -it --entrypoint "python" registry.dataunion.app/dataunion-algo /app/algorithm.py

Deploy scripts

pip install ocean-lib python-dotenv

About

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 87.8%Language:Python 11.7%Language:Dockerfile 0.5%