Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -36,6 +36,7 @@ COPY . .
|
|
36 |
# RUN mkdir blabla/cache
|
37 |
RUN mkdir -p /app/cache/hub/models--suno--bark/snapshots/70a8a7d34168586dc5d028fa9666aceade177992
|
38 |
RUN mkdir -p /app/cache/hub/models--suno--bark/blobs
|
|
|
39 |
|
40 |
# ตั้งค่าสิทธิ์ในไดเรกทอรี snapshots
|
41 |
RUN find /app/cache/hub/models--suno--bark/snapshots -type f -exec chmod u+rw {} \; \
|
@@ -44,6 +45,10 @@ RUN find /app/cache/hub/models--suno--bark/snapshots -type f -exec chmod u+rw {}
|
|
44 |
# ตั้งค่าสิทธิ์ในไดเรกทอรี blobs
|
45 |
RUN find /app/cache/hub/models--suno--bark/blobs -type f -exec chmod u+rw {} \; \
|
46 |
&& find /app/cache/hub/models--suno--bark/blobs -type d -exec chmod u+rwx {} \;
|
|
|
|
|
|
|
|
|
47 |
|
48 |
RUN chmod -R u+rwX /app/cache/hub
|
49 |
|
|
|
36 |
# RUN mkdir blabla/cache
|
37 |
RUN mkdir -p /app/cache/hub/models--suno--bark/snapshots/70a8a7d34168586dc5d028fa9666aceade177992
|
38 |
RUN mkdir -p /app/cache/hub/models--suno--bark/blobs
|
39 |
+
RUN mkdir -p /app/cache/hub/models--suno--bark/refs
|
40 |
|
41 |
# ตั้งค่าสิทธิ์ในไดเรกทอรี snapshots
|
42 |
RUN find /app/cache/hub/models--suno--bark/snapshots -type f -exec chmod u+rw {} \; \
|
|
|
45 |
# ตั้งค่าสิทธิ์ในไดเรกทอรี blobs
|
46 |
RUN find /app/cache/hub/models--suno--bark/blobs -type f -exec chmod u+rw {} \; \
|
47 |
&& find /app/cache/hub/models--suno--bark/blobs -type d -exec chmod u+rwx {} \;
|
48 |
+
|
49 |
+
# ตั้งค่าสิทธิ์ในไดเรกทอรี refs
|
50 |
+
RUN find /app/cache/hub/models--suno--bark/refs -type f -exec chmod u+rw {} \; \
|
51 |
+
&& find /app/cache/hub/models--suno--bark/refs -type d -exec chmod u+rwx {} \;
|
52 |
|
53 |
RUN chmod -R u+rwX /app/cache/hub
|
54 |
|