lfoppiano commited on
Commit
683b5b8
·
verified ·
1 Parent(s): 48f98d5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -14,10 +14,9 @@ WORKDIR /opt/grobid
14
  RUN git lfs install && git clone https://huggingface.co/datasets/sciencialab/grobid-evaluation evaluation
15
 
16
  COPY --chown=lfoppiano service.py /opt/grobid/service.py
17
- RUN python service.py &
18
 
19
  VOLUME ["/opt/grobid/grobid-home/tmp"]
20
 
21
  WORKDIR /opt/grobid
22
 
23
- CMD ["/bin/bash", "-c", "./gradlew jatsEval -Pp2t=/opt/grobid/evaluation/PMC_sample_1943 -Prun=1 -PfileRatio=1; ./gradlew jatsEval -Pp2t=/opt/grobid/evaluation/biorxiv-10k-test-2000 -Prun=1 -PfileRatio=1; ./gradlew jatsEval -Pp2t=/opt/grobid/evaluation/eLife_984 -Prun=1 -PfileRatio=1; ./gradlew jatsEval -Pp2t=/opt/grobid/evaluation/PLOS_1000 -Prun=1 -PfileRatio=1;"]
 
14
  RUN git lfs install && git clone https://huggingface.co/datasets/sciencialab/grobid-evaluation evaluation
15
 
16
  COPY --chown=lfoppiano service.py /opt/grobid/service.py
 
17
 
18
  VOLUME ["/opt/grobid/grobid-home/tmp"]
19
 
20
  WORKDIR /opt/grobid
21
 
22
+ CMD ["/bin/bash", "-c", "python service.py"]