FROM lfoppiano/datastet:0.8.1_v81 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 config-docker.yml /opt/grobid/datastet/resources/config/config.yml WORKDIR /opt/grobid # Hack to make the lexicon loader working # RUN ln -sf datastet/resources/ resources CMD ["sh", "./datastet/bin/datastet", "server", "datastet/resources/config/config.yml"]