Skip to content

Commit e38b03e

Browse files
author
a.b.christie
committed
build: Better dockerfile and python 3.11.15 (was 3.11.4)
1 parent a64466d commit e38b03e

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

Dockerfile

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
FROM python:3.11.4-slim-bullseye
1+
FROM python:3.11.15-slim
22

33
USER root
4-
RUN apt-get --allow-releaseinfo-change update && \
5-
apt-get install -y \
4+
RUN apt-get --allow-releaseinfo-change update \
5+
&& apt-get install -y \
66
git \
77
libfontconfig1 \
88
libsm6 \
99
libxrender1 \
10-
procps && \
11-
pip install rdkit==2023.3.2 && \
12-
git clone https://github.com/rdkit/mmpdb /usr/local/mmpdb && \
13-
pip install /usr/local/mmpdb
14-
15-
COPY requirements.txt ./
16-
RUN pip install -r requirements.txt
10+
procps \
11+
&& pip install rdkit==2023.3.2 \
12+
&& git clone https://github.com/rdkit/mmpdb /usr/local/mmpdb \
13+
&& pip install /usr/local/mmpdb
1714

1815
ADD . /usr/local/frag
1916
RUN pip install /usr/local/frag

0 commit comments

Comments
 (0)