1 Star 0 Fork 0

黄世杰/moses

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
ENV DEBIAN_FRONTEND noninteractive
ENV TERM linux
RUN mkdir /moses
COPY . /moses
RUN set -ex \
&& apt-get update -yqq \
&& apt-get upgrade -yqq \
&& apt-get install -yqq --no-install-recommends \
git wget curl ssh libxrender1 libxext6 software-properties-common apt-utils \
&& wget --no-check-certificate https://repo.continuum.io/miniconda/Miniconda3-4.6.14-Linux-x86_64.sh \
&& /bin/bash Miniconda3-4.6.14-Linux-x86_64.sh -f -b -p /opt/miniconda \
&& add-apt-repository ppa:git-core/ppa \
&& (curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash) \
&& apt-get install git-lfs \
&& git lfs install \
&& apt-get clean \
&& /opt/miniconda/bin/conda install conda=4.6.14=py36_0 \
&& /opt/miniconda/bin/conda clean -yq -a \
&& rm Miniconda3-4.6.14-Linux-x86_64.sh \
&& rm -rf \
/tmp/* \
/var/tmp/* \
/usr/share/man \
/usr/share/doc \
/usr/share/doc-base
ENV PATH /opt/miniconda/bin:$PATH
RUN conda install -yq numpy=1.16.0 scipy=1.2.0 matplotlib=3.0.1 pandas=0.25 scikit-learn=0.20.3 tqdm>=4.26.0 \
&& conda install -yq -c rdkit rdkit=2019.03.2 \
&& conda install -yq -c pytorch pytorch=1.1.0 torchvision=0.2.1 \
&& conda clean -yq -a
WORKDIR /moses
RUN python setup.py install && git lfs pull && conda clean -yq -a && rm -rf .git/lfs
CMD [ "/bin/bash" ]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/huang_shijie/moses.git
git@gitee.com:huang_shijie/moses.git
huang_shijie
moses
moses
master

搜索帮助