13 Star 25 Fork 51

hcp4715/PyBayesian

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dockerfile 908 Bytes
一键复制 编辑 原始数据 按行查看 历史
hcp4715 提交于 2024-09-20 08:10 . fixed typo in dockerfile
# Use the official Jupyter base notebook image with Python 3.11
FROM quay.io/jupyter/scipy-notebook:python-3.11
LABEL maintainer="Hu Chuan-Peng <[email protected]>"
# Set environment variables to minimize Docker image size
ENV CONDA_AUTO_UPDATE_CONDA=false \
PATH="/opt/conda/bin:$PATH"
USER root
RUN apt-get update && apt-get install -y graphviz
# Create a new conda environment and install packages
RUN conda install -y \
graphviz \
bambi=0.13.0 \
pymc=5.16.2 \
PreliZ=0.9.0 \
ipympl=0.9.4 \
pingouin=0.5.4 && \
conda clean --all --yes
# Remove cache and unused packages to reduce image size
RUN rm -rf /home/jovyan/.cache && \
conda clean --all --yes && \
fix-permissions /home/jovyan
# Set the working directory
USER $NB_UID
WORKDIR $HOME
# Expose the default Jupyter notebook port
EXPOSE 8888
# Command to start Jupyter Notebook
CMD ["start-notebook.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hcp4715/PyBayesian.git
[email protected]:hcp4715/PyBayesian.git
hcp4715
PyBayesian
PyBayesian
master

搜索帮助