dataseer-dev / Dockerfile
lfoppiano's picture
Update Dockerfile
6742707 verified
raw
history blame contribute delete
806 Bytes
FROM lfoppiano/dataseer:latest-develop
USER root
RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp
RUN mkdir -m 777 -p /opt/grobid/logs
WORKDIR /opt/grobid
RUN chmod 777 dataseer-ml/resources/config/*.yml
RUN mkdir logs
COPY --chown=lfoppiano server.yml /opt/grobid/dataseer-ml/resources/config/server.yml
COPY --chown=lfoppiano dataseer-ml.yml /opt/grobid/dataseer-ml/resources/config/dataseer-ml.yml
WORKDIR /opt/grobid/dataseer-ml
RUN ls -l /opt/grobid/dataseer-ml/resources/lexicon/
CMD ["bin/dataseer-ml", "server", "resources/config/server.yml"]
# CMD ["sh", "-c", "java -Djava.library.path=/opt/grobid/grobid-home/lib/lin-64:/usr/local/lib/python3.8/dist-packages/jep -jar build/libs/dataseer-ml-0.8.0-SNAPSHOT-onejar.jar server resources/config/dataseer-ml.yml"]
# CMD ["./gradlew", "clean run"]