代码拉取完成,页面将自动刷新
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" ]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。