工具构建

最后发布时间:2024-09-01 22:42:51 浏览量:

一键运行

docker run --rm -it  \
    -p 8888:8888 \
    -v $PWD:$PWD \
    -w $PWD \
    --user  $(id -u)  --group-add users \
    -e DOCKER_STACKS_JUPYTER_CMD="notebook" \
    -e NOTEBOOK_ARGS="--NotebookApp.token='' " \
    registry.cn-hangzhou.aliyuncs.com/wybioinfo/keras-notebook:3.5.0

Dockerfile

FROM jupyter/base-notebook:x86_64-python-3.11.6

RUN mamba install --yes keras && \
    mamba clean --all -f -y && \
    fix-permissions "${CONDA_DIR}" && \
    fix-permissions "/home/${NB_USER}"

RUN mamba install --yes tensorflow && \
    mamba clean --all -f -y && \
    fix-permissions "${CONDA_DIR}" && \
    fix-permissions "/home/${NB_USER}"

# docker build  -t registry.cn-hangzhou.aliyuncs.com/wybioinfo/keras-notebook:3.5.0 .

gitpod issue

fatal: unable to access 'https://github.com/bioproj/keras-notebook.git/': The requested URL returned error: 403

工具构建