|
|
@@ -20,8 +20,8 @@ COPY requirements.txt /app/requirements.txt
|
|
|
RUN pip install --no-cache-dir --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/ && \
|
|
|
pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
|
|
|
|
|
|
-# 2) 仅复制运行所需源码,避免工作区临时文件进入镜像
|
|
|
-COPY app /app/app
|
|
|
+# 2) 复制源码
|
|
|
+COPY . /app
|
|
|
|
|
|
# 定时任务调度:热点搜索(6/12/18) + 解构后处理(30分钟) + ODPS 需求表写入
|
|
|
CMD ["python", "-m", "app.scheduler"]
|