Spaces:
Sleeping
Sleeping
changes to Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -22,4 +22,12 @@ WORKDIR $HOME/app
|
|
22 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
23 |
COPY --chown=user . $HOME/app
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
CMD ["python", "app.py"]
|
|
|
22 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
23 |
COPY --chown=user . $HOME/app
|
24 |
|
25 |
+
ENV PYTHONPATH=${HOME}/app \
|
26 |
+
PYTHONUNBUFFERED=1 \
|
27 |
+
GRADIO_ALLOW_FLAGGING=never \
|
28 |
+
GRADIO_NUM_PORTS=1 \
|
29 |
+
GRADIO_SERVER_NAME=0.0.0.0 \
|
30 |
+
GRADIO_THEME=huggingface \
|
31 |
+
SYSTEM=spaces
|
32 |
+
|
33 |
CMD ["python", "app.py"]
|