capradeepgujaran commited on
Commit
89e448b
·
verified ·
1 Parent(s): 02b315e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -21,5 +21,9 @@ COPY . /code
21
  # Make port 7860 available
22
  EXPOSE 7860
23
 
 
 
 
 
24
  # Start the application
25
  CMD ["python", "app.py"]
 
21
  # Make port 7860 available
22
  EXPOSE 7860
23
 
24
+ # Set environment variables
25
+ ENV GRADIO_SERVER_NAME=0.0.0.0
26
+ ENV PYTHONUNBUFFERED=1
27
+
28
  # Start the application
29
  CMD ["python", "app.py"]