File tree Expand file tree Collapse file tree 5 files changed +20
-12
lines changed Expand file tree Collapse file tree 5 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,15 @@ USER root
9
9
10
10
# Copy the obabel pipeline implementation into the image
11
11
COPY src/python /opt/python-obabel
12
- RUN apt-get update && apt-get install -y --no-install-recommends python-setuptools gzip python-pip && pip install -e /opt/python-obabel
13
- # And the pip packages including pipeline-utilities and im-pipelines-utils-rdkit
14
- RUN pip install im-pipelines-utils==2.2.* im-pipelines-utils-rdkit==1.4.*
12
+ RUN apt-get update && \
13
+ apt-get install -y --no-install-recommends \
14
+ python-setuptools \
15
+ gzip \
16
+ python-pip && \
17
+ pip install -e /opt/python-obabel
18
+ # And the project pip requirements
19
+ COPY requirements-obabel.txt /root/
20
+ RUN pip install -r /root/requirements-obabel.txt
15
21
16
22
# The CMD is simply to run 'execute' in the WORKDIR.
17
23
# The user would normally mount a volume with their own execute
Original file line number Diff line number Diff line change @@ -8,10 +8,11 @@ RUN apt-get -y update && apt-get -y install zip unzip procps
8
8
9
9
# Copy the pipeline implementation into the image
10
10
COPY src/python /opt/python
11
+ COPY requirements-rdkit.txt /root/
11
12
RUN pip install -e /opt/python
12
- # And the pip packages including pipeline-utilities and im-pipelines-utils-rdkit
13
- RUN pip install molvs standardiser matplotlib \
14
- im-pipelines-utils>=2.4.5 im-pipelines-utils- rdkit>=1.5.7
13
+ # And the pip packages from the project requirements
14
+ # NOTE: matplotlib is missing
15
+ RUN pip install -r /root/requirements- rdkit.txt
15
16
16
17
# The CMD is simply to run 'execute' in the WORKDIR.
17
18
# The user would normally mount a volume with their own execute
Original file line number Diff line number Diff line change @@ -8,10 +8,11 @@ RUN yum -y update && yum -y install zip unzip python-devel python2-pip python-se
8
8
9
9
# Copy the pipeline implementation into the image
10
10
COPY src/python /opt/python
11
+ COPY requirements-rdkit.txt /root/
11
12
RUN pip install -e /opt/python
12
- # And the pip packages including pipeline-utilities and im-pipelines-utils-rdkit
13
+ # And the pip packages from the project requirements
13
14
# NOTE: matplotlib is missing
14
- RUN pip install molvs standardiser im-pipelines-utils>=2.4.5 im-pipelines-utils- rdkit>=1.5.7
15
+ RUN pip install -r /root/requirements- rdkit.txt
15
16
16
17
# The CMD is simply to run 'execute' in the WORKDIR.
17
18
# The user would normally mount a volume with their own execute
Original file line number Diff line number Diff line change
1
+ im-pipelines-utils==2.4.*
2
+ im-pipelines-utils-rdkit==1.5.*
Original file line number Diff line number Diff line change 1
1
im-pipelines-utils==2.4.*
2
2
im-pipelines-utils-rdkit==1.5.*
3
3
matplotlib==2.2.*
4
- scipy == 1.1.*
5
- numpy == 1.14.*
6
- scikit-learn == 0.19.*
7
- pandas == 0.23.*
4
+ molvs==0.1.1
5
+ standardiser==0.1.9
You can’t perform that action at this time.
0 commit comments