Spaces:
Running
Running
HARSHIT-hash-07 commited on
Commit ·
b06208c
1
Parent(s): 126af4a
fix: add /app/weights dir with write permissions in Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -32,7 +32,7 @@ WORKDIR /app
|
|
| 32 |
# We'll use /tmp if /app/backend/output is not writable,
|
| 33 |
# but let's try to make it work here.
|
| 34 |
USER root
|
| 35 |
-
RUN mkdir -p /app/backend/output /app/weights_hq && chmod -R 777 /app/backend/output /app/weights_hq
|
| 36 |
USER user
|
| 37 |
|
| 38 |
# Set the port (Hugging Face default is 7860)
|
|
|
|
| 32 |
# We'll use /tmp if /app/backend/output is not writable,
|
| 33 |
# but let's try to make it work here.
|
| 34 |
USER root
|
| 35 |
+
RUN mkdir -p /app/backend/output /app/weights /app/weights_hq && chmod -R 777 /app/backend/output /app/weights /app/weights_hq
|
| 36 |
USER user
|
| 37 |
|
| 38 |
# Set the port (Hugging Face default is 7860)
|