Skip to content

Commit

Permalink
trying to make the docker image work with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Feb 28, 2024
1 parent d77550b commit d851946
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ RUN ./gradlew downloadTransformers --no-daemon --info --stacktrace && rm -f /opt
WORKDIR /opt/grobid-source
RUN unzip -o /opt/grobid-source/grobid-quantities-source/build/distributions/grobid-quantities-*.zip -d grobid-quantities_distribution && mv grobid-quantities_distribution/grobid-quantities-* grobid-quantities

# Cleanup
RUN rm -rf grobid-quantities-source/.git
RUN rm -rf grobid-quantities-source/build

WORKDIR /opt

# -------------------
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ RUN ./gradlew downloadTransformers --no-daemon --info --stacktrace && rm -f /opt
WORKDIR /opt/grobid
RUN unzip -o /opt/grobid/grobid-quantities-source/build/distributions/grobid-quantities-*.zip -d grobid-quantities_distribution && mv grobid-quantities_distribution/grobid-quantities-* grobid-quantities

# Cleanup
RUN rm -rf grobid-quantities-source/.git
RUN rm -rf grobid-quantities-source/build

WORKDIR /opt

# -------------------
Expand Down

0 comments on commit d851946

Please sign in to comment.