Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -40,6 +40,10 @@ RUN find /app/cache/hub/models--suno--bark/blobs -type f -exec chmod u+rw {} \;
|
|
40 |
RUN find /app/cache/hub/models--suno--bark/refs/main -type f -exec chmod u+rw {} \; \
|
41 |
&& find /app/cache/hub/models--suno--bark/refs/main -type d -exec chmod u+rwx {} \;
|
42 |
|
|
|
|
|
|
|
|
|
43 |
RUN chmod -R u+rwX /app/cache/hub
|
44 |
|
45 |
ENV HF_HOME=/app/cache/hub/
|
|
|
40 |
RUN find /app/cache/hub/models--suno--bark/refs/main -type f -exec chmod u+rw {} \; \
|
41 |
&& find /app/cache/hub/models--suno--bark/refs/main -type d -exec chmod u+rwx {} \;
|
42 |
|
43 |
+
# ตั้งค่าสิทธิ์ในไดเรกทอรี refs/main
|
44 |
+
RUN find /app/cache/hub/hub/models--suno--bark/refs/main -type f -exec chmod u+rw {} \; \
|
45 |
+
&& find /app/cache/hub/hub/models--suno--bark/refs/main -type d -exec chmod u+rwx {} \;
|
46 |
+
|
47 |
RUN chmod -R u+rwX /app/cache/hub
|
48 |
|
49 |
ENV HF_HOME=/app/cache/hub/
|