Update Dockerfile to use 127.0.0.1 as the server name

This commit is contained in:
Mert Cobanov 2024-05-01 19:40:10 +03:00
parent 10923d535e
commit cb4f7b8e5d

View File

@ -17,7 +17,7 @@ COPY . .
EXPOSE 7860
# Set the environment variable
ENV GRADIO_SERVER_NAME="0.0.0.0"
ENV GRADIO_SERVER_NAME="127.0.0.1"
# Define the command to run the application
CMD ["python", "webui.py"]