Dockerfile 253 B

123456789
  1. FROM java:latest
  2. LABEL Matt Fullerton <matt.fullerton@gmail.com>
  3. RUN mkdir /setup
  4. RUN ["chmod", "a+x", "install.sh"]
  5. ADD install.sh /setup/install.sh
  6. RUN /setup/install.sh
  7. ENTRYPOINT java -jar /srv/tika-server-1.*-SNAPSHOT.jar -host 0.0.0.0
  8. EXPOSE 9998