FROM java:latest LABEL Matt Fullerton RUN mkdir /setup RUN ["chmod", "a+x", "install.sh"] ADD install.sh /setup/install.sh RUN /setup/install.sh ENTRYPOINT java -jar /srv/tika-server-1.*-SNAPSHOT.jar -host 0.0.0.0 EXPOSE 9998