forked from aspuru-guzik-group/Tartarus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (18 loc) · 814 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM continuumio/miniconda3:latest
RUN apt-get update -y && apt-get upgrade -y
SHELL ["/bin/bash", "--login", "-c"]
WORKDIR /benchmark
COPY environment.yml .
RUN conda env create -f environment.yml
RUN conda init bash
RUN echo "conda activate tartarus" >> ~/.bashrc
RUN echo "export XTBHOME=$CONDA_PREFIX" > $CONDA_PREFIX/etc/conda/activate.d/env.sh
RUN echo "source $CONDA_PREFIX/share/xtb/config_env.bash" >> $CONDA_PREFIX/etc/conda/activate.d/env.sh
RUN pip install -i https://test.pypi.org/simple/ geodesic-interpolate
RUN pip install pytest
RUN mkdir /data
COPY . .
RUN chmod 777 tartarus/data/qvina
RUN chmod 777 tartarus/data/smina
SHELL ["conda", "run", "-n", "tartarus", "/bin/bash", "-c"]
ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "tartarus", "python", "/benchmark/benchmark.py"]