Spaces:
Sleeping
Sleeping
Andrew Kulakov
commited on
Commit
·
07d4133
1
Parent(s):
0ff1f81
init
Browse files- Dockerfile +7 -0
- README.md +1 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM grobid/grobid:0.8.0
|
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 |
+
#ENTRYPOINT ["/tini", "-s", "--"]
|
7 |
+
CMD ["./grobid-service/bin/grobid-service"]
|
README.md
CHANGED
@@ -6,6 +6,7 @@ colorTo: pink
|
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
license: mit
|
|
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
license: mit
|
9 |
+
app_port: 8071
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|