Set env vars
Browse files- 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 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
#ENV SYSTEM spaces
|
43 |
|
44 |
-
|
|
|
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"]
|