Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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"]
|