fffiloni commited on
Commit
cae6726
1 Parent(s): fe3ca48

Update Dockerfile

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