mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-24 01:12:56 -04:00
fix: also change entrypoint
This commit is contained in:
parent
732e984382
commit
3bfb8342a0
@ -42,4 +42,4 @@ RUN if [ "$with_models" = "true" ]; then \
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
ENTRYPOINT [ "./venv/bin/libretranslate", "--host", "::" ]
|
ENTRYPOINT [ "./venv/bin/libretranslate", "--host", "*" ]
|
||||||
|
@ -40,4 +40,4 @@ RUN if [ "$with_models" = "true" ]; then \
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
ENTRYPOINT [ "./venv/bin/libretranslate", "--host", "::" ]
|
ENTRYPOINT [ "./venv/bin/libretranslate", "--host", "*" ]
|
||||||
|
@ -42,4 +42,4 @@ RUN pip3 install Babel==2.12.1 && python3 scripts/compile_locales.py \
|
|||||||
# ENV LD_LIBRARY_PATH=/usr/local/cuda/lib:/usr/local/cuda/lib64
|
# ENV LD_LIBRARY_PATH=/usr/local/cuda/lib:/usr/local/cuda/lib64
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
ENTRYPOINT [ "libretranslate", "--host", "::" ]
|
ENTRYPOINT [ "libretranslate", "--host", "*" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user