kermitt2 commited on
Commit
5c6341e
1 Parent(s): f57b2ed

review path rights

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,5 +1,6 @@
1
  FROM grobid/grobid-crf: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-crf:0.7.3-SNAPSHOT
2
  USER root
3
+ RUN chmod -R uog+rw /opt/grobid/grobid-home/tmp
4
+ RUN chmod -R uog+rw -p /opt/grobid/logs
5
  ENTRYPOINT ["/tini", "-s", "--"]
6
  CMD ["./grobid-service/bin/grobid-service"]