Update Dockerfile
Browse files- Dockerfile +8 -1
Dockerfile
CHANGED
@@ -38,7 +38,14 @@ USER user
|
|
38 |
|
39 |
# Set home to the user's home directory
|
40 |
ENV HOME=/home/user \
|
41 |
-
PATH=/home/user/.local/bin:$PATH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
# Set the working directory to the user's home directory
|
44 |
WORKDIR $HOME/app
|
|
|
38 |
|
39 |
# Set home to the user's home directory
|
40 |
ENV HOME=/home/user \
|
41 |
+
PATH=/home/user/.local/bin:$PATH \
|
42 |
+
PYTHONPATH=$HOME/app \
|
43 |
+
PYTHONUNBUFFERED=1 \
|
44 |
+
GRADIO_ALLOW_FLAGGING=never \
|
45 |
+
GRADIO_NUM_PORTS=1 \
|
46 |
+
GRADIO_SERVER_NAME=0.0.0.0 \
|
47 |
+
GRADIO_THEME=huggingface \
|
48 |
+
SYSTEM=spaces
|
49 |
|
50 |
# Set the working directory to the user's home directory
|
51 |
WORKDIR $HOME/app
|