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