thorin711 commited on
Commit
f6f6b53
·
verified ·
1 Parent(s): 687cf78

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM grobid/grobid:0.8.2
2
+
3
+ # Switch to root to create the directories GROBID needs to write to
4
+ USER root
5
+ RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp
6
+ RUN mkdir -m 777 -p /opt/grobid/logs
7
+
8
+ # This is the command that starts the server
9
+ CMD ["./grobid-service/bin/grobid-service"]