mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-21 16:41:08 +00:00
ltmanage in bin
This allows using the api key instructions from the readme as-is in the docker container.
This commit is contained in:
parent
a90814706a
commit
929002b0c6
2 changed files with 14 additions and 3 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue