ltmanage in bin

This allows using the api key instructions from the readme as-is in the docker container.
This commit is contained in:
Jean-Michel 2024-01-24 16:04:34 -05:00
parent a90814706a
commit 929002b0c6
2 changed files with 14 additions and 3 deletions

View file

@ -30,6 +30,8 @@ USER libretranslate
COPY --from=builder --chown=1032:1032 /app /app
WORKDIR /app
COPY --from=builder --chown=1032:1032 /app/venv/bin/ltmanage /bin/
RUN if [ "$with_models" = "true" ]; then \
# initialize the language models
if [ ! -z "$models" ]; then \