Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -37,6 +37,7 @@ COPY . .
|
|
| 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/main
|
|
|
|
| 40 |
|
| 41 |
# ตั้งค่าสิทธิ์ในไดเรกทอรี snapshots
|
| 42 |
RUN find /app/cache/hub/models--suno--bark/snapshots -type f -exec chmod u+rw {} \; \
|
|
@@ -46,7 +47,7 @@ RUN find /app/cache/hub/models--suno--bark/snapshots -type f -exec chmod u+rw {}
|
|
| 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/main -type f -exec chmod u+rw {} \; \
|
| 51 |
&& find /app/cache/hub/models--suno--bark/refs/main -type d -exec chmod u+rwx {} \;
|
| 52 |
|
|
|
|
| 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/main
|
| 40 |
+
RUN mkdir -p /app/cache/hub/hub
|
| 41 |
|
| 42 |
# ตั้งค่าสิทธิ์ในไดเรกทอรี snapshots
|
| 43 |
RUN find /app/cache/hub/models--suno--bark/snapshots -type f -exec chmod u+rw {} \; \
|
|
|
|
| 47 |
RUN find /app/cache/hub/models--suno--bark/blobs -type f -exec chmod u+rw {} \; \
|
| 48 |
&& find /app/cache/hub/models--suno--bark/blobs -type d -exec chmod u+rwx {} \;
|
| 49 |
|
| 50 |
+
# ตั้งค่าสิทธิ์ในไดเรกทอรี refs/main
|
| 51 |
RUN find /app/cache/hub/models--suno--bark/refs/main -type f -exec chmod u+rw {} \; \
|
| 52 |
&& find /app/cache/hub/models--suno--bark/refs/main -type d -exec chmod u+rwx {} \;
|
| 53 |
|