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