From effbaa1b6982b0dd90494c0ddc9726481a824e73 Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Tue, 16 Apr 2024 10:20:12 +0800 Subject: [PATCH] fix: docker --- cron-Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cron-Dockerfile b/cron-Dockerfile index 5d61b0f2..84903562 100644 --- a/cron-Dockerfile +++ b/cron-Dockerfile @@ -52,14 +52,15 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* #时区为中国 +# 将你的 Puppeteer 脚本复制到容器中 +COPY --chmod=777 . . + #时区为中国 ENV TZ=Asia/Shanghai # 安装 Node.js 依赖 RUN npm install -# 将你的 Puppeteer 脚本复制到容器中 -COPY --chmod=777 . . # 添加执行权限 RUN chmod +x /app/pteer.js