Skip to content

Commit

Permalink
squeeze this image as much as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Apr 4, 2024
1 parent e76729d commit 6093175
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ RUN rm -f /opt/grobid-source/grobid-home/models/*.zip \
&& rm -rf /opt/grobid-source/grobid-home/models/*with_ELMo \
&& rm -rf /opt/grobid-source/grobid-home/models/entityLinker* \
&& rm -rf superconductors-mattpuscibert-BERT_CRF \
&& rm ./grobid-superconductors_source/.git
&& rm -rf ./grobid-superconductors_source/.git

# Preparing distribution
WORKDIR /opt/grobid-source
RUN unzip -o /opt/grobid-source/grobid-superconductors_source/build/distributions/grobid-superconductors-*.zip -d grobid-superconductors_distribution \
&& mv grobid-superconductors_distribution/grobid-superconductors-* grobid-superconductors
&& mv grobid-superconductors_distribution/grobid-superconductors-* grobid-superconductors \
&& rm -rf grobid-superconductors_distribution/grobid-superconductors-*

WORKDIR /opt

Expand Down

0 comments on commit 6093175

Please sign in to comment.