Nevaehni commited on
Commit
3264552
·
1 Parent(s): 4e973e5
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -11,7 +11,11 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
  EXPOSE 7860
13
  EXPOSE 80
14
- ENV GRADIO_SERVER_NAME=0.0.0.0
 
 
 
 
15
 
16
  COPY --chown=user . /app
17
  CMD ["python", "app.py"]
 
11
 
12
  EXPOSE 7860
13
  EXPOSE 80
14
+ ENV PYTHONUNBUFFERED=1 \
15
+ GRADIO_ALLOW_FLAGGING=never \
16
+ GRADIO_NUM_PORTS=1 \
17
+ GRADIO_SERVER_NAME=0.0.0.0 \
18
+ SYSTEM=spaces
19
 
20
  COPY --chown=user . /app
21
  CMD ["python", "app.py"]