From c6026396caa7eb60f2d03fa4567b76ed1a23bf37 Mon Sep 17 00:00:00 2001 From: Dave Meikle Date: Wed, 9 Dec 2020 00:06:25 +0000 Subject: [PATCH] Updated ENTRYPOINT to accept command arguments --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 70f746e..550c3e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,4 +36,4 @@ ENV TIKA_VERSION=$TIKA_VERSION COPY --from=fetch_tika /tika-server-${TIKA_VERSION}.jar /tika-server-${TIKA_VERSION}.jar EXPOSE 9998 -ENTRYPOINT java -jar /tika-server-${TIKA_VERSION}.jar -h 0.0.0.0 +ENTRYPOINT [ "/bin/sh", "-c", "exec java -jar /tika-server-${TIKA_VERSION}.jar -h 0.0.0.0 $0 $@"]