Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
@@ -2,7 +2,13 @@ FROM lfoppiano/datastet:0.8.1_v81
|
|
2 |
USER root
|
3 |
RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp
|
4 |
RUN mkdir -m 777 -p /opt/grobid/logs
|
|
|
5 |
|
6 |
-
COPY --chown=lfoppiano config-docker.yml resources/config/config.yml
|
7 |
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|
7 |
+
COPY --chown=lfoppiano config-docker.yml /opt/grobid/datastet/resources/config/config.yml
|
8 |
|
9 |
+
WORKDIR /opt/grobid
|
10 |
+
|
11 |
+
# Hack to make the lexicon loader working
|
12 |
+
# RUN ln -sf datastet/resources/ resources
|
13 |
+
|
14 |
+
CMD ["sh", "./datastet/bin/datastet", "server", "datastet/resources/config/config.yml"]
|