From f93459af3ceb8660f2543caf462d2a762fbabdde Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Fri, 5 Dec 2025 12:55:27 -0500 Subject: [PATCH] Do not use gunicorn with CUDA --- docker/cuda.Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/cuda.Dockerfile b/docker/cuda.Dockerfile index 828a133..9ce0751 100644 --- a/docker/cuda.Dockerfile +++ b/docker/cuda.Dockerfile @@ -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", "*" ]