prashanthkamsala / Docker-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

first learn the python ecosystem on Docker

❯ cd /Desktop/vishwasdemo1/docker/fast-api

❯ sh docker_build.sh

now to learn about the jupterlab ecosystem lets

❯ cd .. ❯ cd jupyterlab ❯ ls Dockerfile docker_build.sh requirements.txt ❯ sh docker_build.sh

run docker compose

❯ sh run_compose.sh

fast API deployed Models

http://0.0.0.0:8000/predict_salary/?employee_age=28

docker run -it -p 8080:8888 -v $PWD:/tmp -w /tmp tensorflow/tensorflow



___ /________________________________ / /______ __ __ / _ _ _ __ _ / __ _ / / __ / __ _ | /| / / _ / / / / / /( )/ // / / _ __/ _ / / // / |/ |/ / // ___/// //// _/// // // _/__/|__/

WARNING: You are running this container as root, which can cause new files in mounted volumes to be created as the root user on your host machine.

To avoid this, run the container by specifying your user's userid:

$ docker run -u $(id -u):$(id -g) args...


jupyter notebook --ip 0.0.0.0 --no-browser --allow-root

About


Languages

Language:Jupyter Notebook 96.7%Language:Dockerfile 1.8%Language:Python 1.3%Language:Shell 0.2%