Spaces:
Runtime error
Runtime error
Commit
•
aa7b184
1
Parent(s):
a59aa93
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -9,9 +9,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
9 |
|
10 |
COPY . .
|
11 |
|
12 |
-
RUN mkdir -p
|
13 |
-
RUN chmod a+rwx -R
|
14 |
|
|
|
15 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
16 |
ENV GRADIO_SERVER_PORT=7860
|
17 |
ENV GRADIO_ALLOW_FLAGGING="never"
|
|
|
9 |
|
10 |
COPY . .
|
11 |
|
12 |
+
RUN mkdir -p /tmp/cache/
|
13 |
+
RUN chmod a+rwx -R /temp/cache/
|
14 |
|
15 |
+
ENV TRANSFORMERS_CACHE=/temp/cache/
|
16 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
17 |
ENV GRADIO_SERVER_PORT=7860
|
18 |
ENV GRADIO_ALLOW_FLAGGING="never"
|