This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ RUN chmod 0644 /etc/cron.d/cronjob && \
|
|||||||
|
|
||||||
# 安装Python依赖(如果有)
|
# 安装Python依赖(如果有)
|
||||||
COPY ./requirements.txt /app/requirements.txt
|
COPY ./requirements.txt /app/requirements.txt
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
|
||||||
# 创建日志文件(用于cron输出)
|
# 创建日志文件(用于cron输出)
|
||||||
RUN touch /var/log/cron.log
|
RUN touch /var/log/cron.log
|
||||||
|
|||||||
Reference in New Issue
Block a user