Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -13,6 +13,7 @@ RUN chown appuser:appuser /app
|
|
13 |
# 复制必要的文件
|
14 |
COPY merged2upload.py /app/merged2upload.py
|
15 |
COPY entrypoint.sh /app/entrypoint.sh
|
|
|
16 |
|
17 |
# 设置执行权限
|
18 |
RUN chmod +x /app/entrypoint.sh
|
@@ -21,7 +22,7 @@ RUN chmod +x /app/entrypoint.sh
|
|
21 |
USER appuser
|
22 |
|
23 |
# 安装Python依赖
|
24 |
-
RUN pip install --user requests PyYAML tqdm
|
25 |
|
26 |
# 设置环境变量(这些将在HuggingFace后台设置)
|
27 |
ENV GITHUB_TOKEN=""
|
|
|
13 |
# 复制必要的文件
|
14 |
COPY merged2upload.py /app/merged2upload.py
|
15 |
COPY entrypoint.sh /app/entrypoint.sh
|
16 |
+
COPY scheduler.py /app/scheduler.py
|
17 |
|
18 |
# 设置执行权限
|
19 |
RUN chmod +x /app/entrypoint.sh
|
|
|
22 |
USER appuser
|
23 |
|
24 |
# 安装Python依赖
|
25 |
+
RUN pip install --user requests PyYAML tqdm schedule
|
26 |
|
27 |
# 设置环境变量(这些将在HuggingFace后台设置)
|
28 |
ENV GITHUB_TOKEN=""
|