Skip to content

Commit fcd3dcd

Browse files
committed
fix: update Dockerfiles to use the latest released delft version
1 parent c0dc72d commit fcd3dcd

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Dockerfile.delft

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,7 @@ WORKDIR /opt/grobid
112112
COPY --from=builder /opt/grobid .
113113

114114
# install DeLFT
115-
RUN apt-get update && \
116-
apt-get -y --no-install-recommends install git && \
117-
pip3 install --no-cache-dir git+https://github.com/kermitt2/delft.git && \
118-
apt-get -y remove git && \
119-
apt-get clean && \
120-
rm -rf /var/lib/apt/lists/*
115+
RUN pip3 install --no-cache-dir delft==0.4.1
121116

122117
# Build JEP with temporary access to full JDK (needs javac + JNI headers).
123118
# The bind mount is only visible during this RUN step — zero overhead in the final image.

Dockerfile.evaluation

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ COPY --from=builder /opt/grobid .
8686

8787
RUN python3 -m pip install pip --upgrade --no-cache-dir
8888

89-
# install DeLFT from branch with TF 2.17 / Keras 3 support
90-
RUN pip3 install --no-cache-dir requests tf_keras git+https://github.com/kermitt2/delft.git@tensorflow-2.17
89+
# install DeLFT
90+
RUN pip3 install --no-cache-dir delft==0.4.1
91+
9192
# link the data directory to /data
9293
# the current working directory will most likely be /opt/grobid
9394
RUN mkdir -p /data \

0 commit comments

Comments
 (0)