Spaces:
Running
Running
try to fix path rights
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
FROM grobid/grobid:0.7.3-SNAPSHOT
|
2 |
USER root
|
3 |
RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp
|
|
|
|
|
4 |
ENTRYPOINT ["/tini", "-s", "--"]
|
5 |
CMD ["./grobid-service/bin/grobid-service"]
|
|
|
1 |
FROM grobid/grobid:0.7.3-SNAPSHOT
|
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 u+rw /data/db
|
6 |
ENTRYPOINT ["/tini", "-s", "--"]
|
7 |
CMD ["./grobid-service/bin/grobid-service"]
|