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.
This commit is contained in:
Lukas Pfahler 2023-10-25 13:07:04 +02:00 committed by GitHub
parent 96a982ad8f
commit 330e506e88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,5 +226,5 @@ ENTRYPOINT ["./entrypoint.sh"]
# Final image # Final image
FROM base FROM base
ENTRYPOINT ["text-generation-launcher"] ENTRYPOINT ["/usr/local/bin/text-generation-launcher"]
CMD ["--json-output"] CMD ["--json-output"]