Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatobipen authored Sep 13, 2024
1 parent cf2cab8 commit 3a4bd97
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM nvidia/cuda:12.2.2-runtime-ubuntu22.04
ENV MAXIT_INSTALL_DIR=/home/apps/maxit/11.200
ENV INSTALLDIR=/home/apps/
ENV HELIXFOLD3DIR=${INSTALLDIR}/PaddleHelix/apps/protein_folding/helixfold3

RUN apt-get update && apt-get install -y \
wget \
git \
Expand Down Expand Up @@ -31,4 +34,13 @@ RUN cd maxit-v11.200-prod-src && \
$MAXIT_INSTALL_DIR/bin/maxit -input 3QUG.pdb -output 3qug.cif -o 1 -log maxit.log && \
head 3qug.cif

RUN mkdir -p ${INSTALLDIR} && \
cd ${INSTALLDIR} && \
git clone https://github.com/PaddlePaddle/PaddleHelix.git && \
cd ${HELIXFOLD3DIR} && \
wget -q -P . https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
bash ./Miniconda3-latest-Linux-x86_64.sh -b -p ${HELIXFOLD3DIR}/conda && \
rm Miniconda3-latest-Linux-x86_64.sh && \
. "${HELIXFOLD3DIR}/conda/etc/profile.d/conda.sh"

WORKDIR /opt

0 comments on commit 3a4bd97

Please sign in to comment.