fixed /srv owner bug for basex
This commit is contained in:
@@ -11,6 +11,6 @@ USER root
|
||||
RUN chmod +x /usr/local/bin/gdp-entrypoint.sh
|
||||
# RUN chown -R basex:basex /usr/local/bin/gdp-entrypoint.sh
|
||||
# # RUN ln -s /usr/local/bin/gdp-entrypoint.sh /srv/ # backwards compat
|
||||
# RUN chown -R basex:basex /srv/basex
|
||||
USER basex
|
||||
RUN chown -R basex:basex /srv
|
||||
# USER basex
|
||||
CMD ["/bin/sh","/usr/local/bin/gdp-entrypoint.sh"]
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
id
|
||||
|
||||
ls -ls / | grep srv
|
||||
|
||||
echo "Creating GDP BaseX db"
|
||||
basex "db:create('gdp','/srv/basex/src/gdp.tei.xml', (),map {'ftindex': true(),'stemming': true(),'casesens': true(),'diacritics': true(),'language': 'fr','updindex': true(),'autooptimize': true(),'maxlen': 96,'maxcats': 100,'splitsize': 0,'chop': false(),'textindex': true(),'attrindex': true(),'tokenindex': true(), 'xinclude': true()})"
|
||||
# , 'serializer': 'indent=no'
|
||||
|
||||
Reference in New Issue
Block a user