This commit is contained in:
OlivierDehaene 2023-02-28 16:47:00 +01:00
parent 32199274f3
commit 930842a7f0
2 changed files with 7 additions and 1 deletions

View File

@ -76,4 +76,7 @@ COPY --from=builder /usr/src/target/release/text-generation-router /usr/local/bi
# Install launcher # Install launcher
COPY --from=builder /usr/src/target/release/text-generation-launcher /usr/local/bin/text-generation-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"]

3
entrypoint.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
text-generation-launcher