nateraw commited on
Commit
03bd038
1 Parent(s): ecda8f8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -2
Dockerfile CHANGED
@@ -13,9 +13,17 @@ RUN useradd -m -u 1000 user
13
  USER user
14
 
15
  # Set home to the user's home directory
 
16
  ENV HOME=/home/user \
17
- PATH=/home/user/.local/bin:$PATH
18
-
 
 
 
 
 
 
 
19
  # Set the working directory to the user's home directory
20
  WORKDIR $HOME/app
21
 
 
13
  USER user
14
 
15
  # Set home to the user's home directory
16
+ ENV
17
  ENV HOME=/home/user \
18
+ PATH=/home/user/.local/bin:$PATH \
19
+ PYTHONPATH=$HOME/app \
20
+ PYTHONUNBUFFERED=1 \
21
+ GRADIO_ALLOW_FLAGGING=never \
22
+ GRADIO_NUM_PORTS=1 \
23
+ GRADIO_SERVER_NAME=0.0.0.0 \
24
+ GRADIO_THEME=huggingface \
25
+ SYSTEM=spaces
26
+
27
  # Set the working directory to the user's home directory
28
  WORKDIR $HOME/app
29