WeBankFinTech / Prophecis

Prophecis is a one-stop cloud native machine learning platform.
https://github.com/WeBankFinTech/Prophecis
Apache License 2.0
480 stars 153 forks source link

自身创建notebook镜像 #62

Open GodfreyGuo opened 2 years ago

GodfreyGuo commented 2 years ago

可自身创建notebook运行镜像: 1.Dockerfile:

其他的镜像类似

docker pull jupyter/scipy-notebook:notebook-6.4.10

FROM jupyter/scipy-notebook:notebook-6.4.10 USER root RUN echo "Asia/shanghai" > /etc/timezone ENTRYPOINT ["sh","-c", "jupyter lab --notebook-dir=/home/jovyan --ip=0.0.0.0 --no-browser --allow-root --port=8888 --NotebookApp.token='' --NotebookApp.password='' --NotebookApp.allow_origin='*' --NotebookApp.base_url=${NB_PREFIX}"]

2.编译:

编译成自身tag

docker build -t "xxxx/jupyter/scipy-notebook:notebook-6.4.10" .