FROM lfoppiano/grobid:segmentation-light USER root RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp RUN mkdir -m 777 -p /opt/grobid/logs RUN chmod -R uog+rw /data/db # COPY --chown=lfoppiano grobid.yaml /opt/grobid/grobid-home/config/grobid.yaml CMD ["./grobid-service/bin/grobid-service"]