Chenhao
commited on
Commit
·
0161d41
1
Parent(s):
7a4cb46
由于 Spaces 中没有 root 权限, 因此提前创建好需要使用的目录
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -12,6 +12,9 @@ ENV PORT=7860
|
|
| 12 |
RUN mkdir /data/logs
|
| 13 |
RUN chmod -R 777 /data
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
WORKDIR /app
|
| 16 |
RUN chmod -R 777 /app
|
| 17 |
COPY . .
|
|
|
|
| 12 |
RUN mkdir /data/logs
|
| 13 |
RUN chmod -R 777 /data
|
| 14 |
|
| 15 |
+
RUN mkdir /sync
|
| 16 |
+
RUN chmod -R /sync
|
| 17 |
+
|
| 18 |
WORKDIR /app
|
| 19 |
RUN chmod -R 777 /app
|
| 20 |
COPY . .
|