lfoppiano commited on
Commit
f03607d
·
verified ·
1 Parent(s): acc2bae

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -2,7 +2,13 @@ FROM lfoppiano/datastet:0.8.1_v81
2
  USER root
3
  RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp
4
  RUN mkdir -m 777 -p /opt/grobid/logs
 
5
 
6
- COPY --chown=lfoppiano config-docker.yml resources/config/config.yml
7
 
8
- CMD ["sh", "-c", "java --add-opens java.base/java.lang=ALL-UNNAMED -jar build/libs/datastet-0.8.0-onejar.jar server resources/config/config.yml"]
 
 
 
 
 
 
2
  USER root
3
  RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp
4
  RUN mkdir -m 777 -p /opt/grobid/logs
5
+ RUN chmod -R uog+rw /data/db
6
 
7
+ COPY --chown=lfoppiano config-docker.yml /opt/grobid/datastet/resources/config/config.yml
8
 
9
+ WORKDIR /opt/grobid
10
+
11
+ # Hack to make the lexicon loader working
12
+ # RUN ln -sf datastet/resources/ resources
13
+
14
+ CMD ["sh", "./datastet/bin/datastet", "server", "datastet/resources/config/config.yml"]