From 330e506e884c1552d1d428db3d649b42f0aeec13 Mon Sep 17 00:00:00 2001 From: Lukas Pfahler Date: Wed, 25 Oct 2023 13:07:04 +0200 Subject: [PATCH] Improvement: Update Dockerfile We use an explicit entrypoint to avoid confusion when we mount a home folder into our docker container that has another binary of the text-generation-launcher in its $PATH. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9c15f023..b76fb08f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -226,5 +226,5 @@ ENTRYPOINT ["./entrypoint.sh"] # Final image FROM base -ENTRYPOINT ["text-generation-launcher"] +ENTRYPOINT ["/usr/local/bin/text-generation-launcher"] CMD ["--json-output"]