Spaces:
Runtime error
Runtime error
Benjamin Bossan
commited on
Commit
•
0fe6487
1
Parent(s):
e160804
Try fixing TRANSFORMER_CACHE issue #2
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -14,4 +14,7 @@ EXPOSE 7860 8080
|
|
14 |
COPY start.sh .
|
15 |
RUN chmod +x start.sh
|
16 |
|
|
|
|
|
|
|
17 |
CMD ["./start.sh"]
|
|
|
14 |
COPY start.sh .
|
15 |
RUN chmod +x start.sh
|
16 |
|
17 |
+
RUN mkdir -p /root/.cache/huggingface/hub
|
18 |
+
RUN chmod 777 /root/.cache/huggingface/hub
|
19 |
+
|
20 |
CMD ["./start.sh"]
|