pcuenq HF staff commited on
Commit
dbd0e9a
1 Parent(s): 530c65f

Set env vars

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -9
Dockerfile CHANGED
@@ -32,13 +32,12 @@ WORKDIR $HOME/app
32
  COPY --chown=user ./ $HOME/app
33
  RUN pip install --no-cache-dir -r requirements.txt
34
 
35
- # These may be enough to trigger a gradio Space
36
- #ENV PYTHONPATH $HOME/app
37
- #ENV PYTHONUNBUFFERED 1
38
- #ENV GRADIO_ALLOW_FLAGGING never
39
- #ENV GRADIO_NUM_PORTS 1
40
- #ENV GRADIO_SERVER_NAME 0.0.0.0
41
- #ENV GRADIO_THEME huggingface
42
- #ENV SYSTEM spaces
43
 
44
- #CMD ["python", "app.py"]
 
32
  COPY --chown=user ./ $HOME/app
33
  RUN pip install --no-cache-dir -r requirements.txt
34
 
35
+ ENV PYTHONPATH $HOME/app
36
+ ENV PYTHONUNBUFFERED 1
37
+ ENV GRADIO_ALLOW_FLAGGING never
38
+ ENV GRADIO_NUM_PORTS 1
39
+ ENV GRADIO_SERVER_NAME 0.0.0.0
40
+ ENV GRADIO_THEME huggingface
41
+ ENV SYSTEM spaces
 
42
 
43
+ CMD ["python", "app.py"]