nvidia docker: make sure gradio listens on 0.0.0.0 (#5918)

This commit is contained in:
Jari Van Melckebeke 2024-04-24 04:17:55 +02:00 committed by GitHub
parent 9b623b8a78
commit c725d97368
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,4 +18,4 @@ COPY CMD_FLAGS.txt /home/app/text-generation-webui/
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005} EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
WORKDIR /home/app/text-generation-webui WORKDIR /home/app/text-generation-webui
# set umask to ensure group read / write at runtime # set umask to ensure group read / write at runtime
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh --listen