Skip to content

Commit b3ded3e

Browse files
committed
fix: upgrade python
Signed-off-by: Luca Foppiano <luca@foppiano.org>
1 parent bc999e9 commit b3ded3e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ RUN ln -s /opt/grobid/grobid-quantities/resources /opt/grobid/resources
101101
WORKDIR /opt/grobid
102102
ARG GROBID_VERSION
103103
ENV GROBID_VERSION=${GROBID_VERSION:-latest}
104-
ENV GROBID_QUANTITIES_OPTS "-Djava.library.path=/opt/grobid/grobid-home/lib/lin-64:/usr/local/lib/python3.8/dist-packages/jep --add-opens java.base/java.lang=ALL-UNNAMED"
105-
106-
# This code removes the fixed seeed in DeLFT to increase the uncertanty
107-
#RUN sed -i '/seed(7)/d' /usr/local/lib/python3.8/dist-packages/delft/utilities/Utilities.py
108-
#RUN sed -i '/from numpy\.random import seed/d' /usr/local/lib/python3.8/dist-packages/delft/utilities/Utilities.py
104+
ENV GROBID_QUANTITIES_OPTS="-Djava.library.path=/opt/grobid/grobid-home/lib/lin-64:/usr/local/lib/python3.11/dist-packages/jep --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED"
109105

110106
EXPOSE 8060 8061 5005
111107

0 commit comments

Comments
 (0)