File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -112,12 +112,7 @@ WORKDIR /opt/grobid
112112COPY --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.
Original file line number Diff line number Diff line change @@ -86,8 +86,9 @@ COPY --from=builder /opt/grobid .
8686
8787RUN 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
9394RUN mkdir -p /data \
You can’t perform that action at this time.
0 commit comments