Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- 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"]
|