Dockerfile 663 B

123456789101112131415
  1. FROM basex/basexhttp:latest
  2. COPY ./bashrc /srv/.bashrc
  3. COPY ./inputrc /srv/.inputrc
  4. # RUN 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()})"
  5. COPY ./gdp-entrypoint.sh /usr/local/bin
  6. USER root
  7. RUN chmod +x /usr/local/bin/gdp-entrypoint.sh
  8. # RUN ln -s /usr/local/bin/gdp-entrypoint.sh /srv/ # backwards compat
  9. USER basex
  10. CMD ["/bin/sh","/usr/local/bin/gdp-entrypoint.sh"]