Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -59,6 +59,9 @@ RUN pip install --no-cache-dir huggingface_hub
|
|
| 59 |
# 创建应用目录
|
| 60 |
RUN mkdir account templates static
|
| 61 |
|
|
|
|
|
|
|
|
|
|
| 62 |
# 从 frontend-builder 阶段复制后端源文件
|
| 63 |
COPY --from=frontend-builder /app/run.py .
|
| 64 |
COPY --from=frontend-builder /app/utils/ ./utils/
|
|
|
|
| 59 |
# 创建应用目录
|
| 60 |
RUN mkdir account templates static
|
| 61 |
|
| 62 |
+
# Create empty database file to ensure proper mounting
|
| 63 |
+
RUN touch accounts.db
|
| 64 |
+
|
| 65 |
# 从 frontend-builder 阶段复制后端源文件
|
| 66 |
COPY --from=frontend-builder /app/run.py .
|
| 67 |
COPY --from=frontend-builder /app/utils/ ./utils/
|