Commit 1496be38 authored by nd-02110114's avatar nd-02110114
Browse files

🐳 fix file position

parent 5e64e36e
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@ FROM nvidia/cuda:10.1-cudnn7-devel

# Install some utilities
RUN apt-get update && \
    apt-get install -y -q wget git vim libxrender1 libsm6 bzip2 && \
    apt-get clean
    apt-get install -y -q wget git vim libxrender1 libsm6 bzip2

# Install miniconda
RUN MINICONDA="Miniconda3-latest-Linux-x86_64.sh" && \
@@ -18,8 +17,15 @@ RUN conda update -n base conda && \
    conda create -y --name deepchem python=3.6 && \
    . /miniconda/etc/profile.d/conda.sh && \
    conda activate deepchem && \
    conda install -c deepchem -c rdkit -c conda-forge -c omnia deepchem-gpu==2.3.0 && \
    conda clean -afy
    conda install -c deepchem -c rdkit -c conda-forge -c omnia deepchem-gpu==2.3.0

# clean cache and reduce image size
RUN apt-get autoremove -y && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* && \
    rm -rf /usr/local/src/* && \
    conda clean -afy && \
    rm -rf ~/.cache/pip

RUN echo "conda activate deepchem" >> ~/.bashrc
WORKDIR /root/mydir
+10 −4
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@ FROM nvidia/cuda:10.1-cudnn7-devel

# Install some utilities
RUN apt-get update && \
    apt-get install -y -q wget git vim libxrender1 libsm6 bzip2 && \
    apt-get clean
    apt-get install -y -q wget git vim libxrender1 libsm6 bzip2

# Install miniconda
RUN MINICONDA="Miniconda3-latest-Linux-x86_64.sh" && \
@@ -20,8 +19,15 @@ RUN conda update -n base conda && \
    . /miniconda/etc/profile.d/conda.sh && \
    bash scripts/install_deepchem_conda.sh deepchem && \
    conda activate deepchem && \
    python setup.py install && \
    conda clean -afy
    python setup.py install

# clean cache and reduce image size
RUN apt-get autoremove -y && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* && \
    rm -rf /usr/local/src/* && \
    conda clean -afy && \
    rm -rf ~/.cache/pip

RUN echo "conda activate deepchem" >> ~/.bashrc
WORKDIR /root/mydir