PetrosStav commited on
Commit
ffeea77
·
verified ·
1 Parent(s): fb7d6ea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -19,5 +19,11 @@ WORKDIR /app/src
19
  # Expose the port that Gradio will run on
20
  EXPOSE 7860
21
 
 
 
 
 
 
 
22
  # Run app.py when the container launches
23
  CMD ["python", "-m", "citance_analysis.server.gradio_app"]
 
19
  # Expose the port that Gradio will run on
20
  EXPOSE 7860
21
 
22
+ ENV PYTHONUNBUFFERED=1 \
23
+ GRADIO_ALLOW_FLAGGING=never \
24
+ GRADIO_NUM_PORTS=1 \
25
+ GRADIO_SERVER_NAME=127.0.0.1 \
26
+ SYSTEM=spaces
27
+
28
  # Run app.py when the container launches
29
  CMD ["python", "-m", "citance_analysis.server.gradio_app"]