From ad4026955f9fe68a7888346e9c83494058ac0084 Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Thu, 14 Nov 2024 03:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20=E4=BC=98=E5=8C=96=E5=BF=BD?= =?UTF-8?q?=E7=95=A5=E6=96=87=E4=BB=B6=E5=92=8C=E9=95=9C=E5=83=8F=E6=9E=84?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 4 ++++ .gitignore | 3 ++- Dockerfile | 2 +- requirements.txt | 4 ++++ 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .dockerignore create mode 100644 requirements.txt diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..b755629 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +.git +.github +__pycache__ +/img \ No newline at end of file diff --git a/.gitignore b/.gitignore index ac67cd4..c1e5b58 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ quark_config_debug.json __pycache__ -/config \ No newline at end of file +/config +.vscode \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index ec248a1..4ec18e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app COPY . /app # 安装依赖 -RUN pip install --no-cache-dir flask apscheduler requests treelib +RUN pip install --no-cache-dir -r requirements.txt # 时区 ENV TZ="Asia/Shanghai" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0636d0c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +flask +apscheduler +requests +treelib