Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -15,6 +15,9 @@ WORKDIR /app
|
|
| 15 |
# 克隆指定的 GitHub 仓库
|
| 16 |
RUN git clone https://github.com/zhanghxiao/web-ui.git .
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
# 安装 Python 依赖
|
| 19 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 20 |
|
|
|
|
| 15 |
# 克隆指定的 GitHub 仓库
|
| 16 |
RUN git clone https://github.com/zhanghxiao/web-ui.git .
|
| 17 |
|
| 18 |
+
# 创建 tmp 目录并设置权限
|
| 19 |
+
RUN mkdir -p /app/tmp && chmod -R 777 /app/tmp
|
| 20 |
+
|
| 21 |
# 安装 Python 依赖
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 23 |
|