File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,16 @@ services:
33 build :
44 context : .
55 dockerfile : ./oxo2-dataload/dataload.Dockerfile
6- args :
7- OXO2_CONFIG : ${OXO2_CONFIG}
86 environment :
9- - ${ OXO2_CONFIG} =/opt/oxo/config.json
7+ - OXO2_CONFIG=/opt/oxo/config.json
108 - SOLR_HOME=/opt/solr/server/solr
119 - SOLR_SCRIPT=/opt/solr/bin
1210 volumes :
1311 - build:/opt/oxo:rw
1412 - data:/tmp/data:rw
1513 - solr-data:/opt/solr/server/solr:rw
1614 - logs:/tmp/logs:rw
15+ - ${OXO2_CONFIG:-./oxo-config.json}:/opt/oxo/config.json:ro
1716 solr :
1817 image : solr:9.9.0
1918 environment :
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ RUN cd oxo2-dataload \
1717
1818FROM eclipse-temurin:17
1919
20- ARG OXO2_CONFIG
21-
2220RUN addgroup --system oxo && adduser --system --ingroup oxo oxo
2321
2422RUN mkdir -p /opt/nemo \
@@ -41,7 +39,7 @@ ENV PATH="${PATH}:/opt/nemo:/opt/solr" \
4139 SOLR_HOME="/opt/solr/server/solr" \
4240 SOLR_SCRIPT="/opt/solr/bin"
4341
44- COPY ${OXO2_CONFIG} /opt/oxo/config.json
42+ RUN mkdir -p /opt/oxo
4543
4644COPY ./oxo2-dataload/oxo2-json2inferences/chain-rules.rls \
4745 ./oxo2-dataload/oxo2-json2inferences/explanations2json.sh \
You can’t perform that action at this time.
0 commit comments