From 930842a7f0ed6ea26211c8bb2f3dbc596f1afde5 Mon Sep 17 00:00:00 2001 From: OlivierDehaene <23298448+OlivierDehaene@users.noreply.github.com> Date: Tue, 28 Feb 2023 16:47:00 +0100 Subject: [PATCH] hack --- Dockerfile | 5 ++++- entrypoint.sh | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 entrypoint.sh diff --git a/Dockerfile b/Dockerfile index b6e5117a..5b12be65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,4 +76,7 @@ COPY --from=builder /usr/src/target/release/text-generation-router /usr/local/bi # Install launcher COPY --from=builder /usr/src/target/release/text-generation-launcher /usr/local/bin/text-generation-launcher -ENTRYPOINT ["text-generation-launcher", "--json-output"] +COPY entrypoint.sh entrypoint.sh +RUN chmod +x entrypoint.sh + +ENTRYPOINT ["./entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 00000000..acaf9168 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +text-generation-launcher \ No newline at end of file