mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-01-08 05:00:37 -05:00
Do not use gunicorn with CUDA
This commit is contained in:
parent
d1bc8e2e42
commit
f93459af3c
@ -35,7 +35,6 @@ RUN if [ "$with_models" = "true" ]; then \
|
||||
# Install package from source code
|
||||
RUN pip3 install Babel==2.12.1 && python3 scripts/compile_locales.py \
|
||||
&& pip3 install "numpy<2" \
|
||||
&& pip3 install gunicorn==23.0.0 \
|
||||
&& pip3 install . \
|
||||
&& pip3 cache purge
|
||||
|
||||
@ -44,4 +43,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
|
||||
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT [ "./scripts/entrypoint.sh" ]
|
||||
ENTRYPOINT [ "libretranslate", "--host", "*" ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user