diff --git a/.dockerignore b/.dockerignore index b501a12..c4a0040 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,2 @@ __pycache__ -./gsuid-core/data/* \ No newline at end of file +./gsuid-core/data/* diff --git a/Dockerfile b/Dockerfile index cfcef7a..e0ab781 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak \ && echo "deb-src http://ftp.cn.debian.org/debian/ bullseye-updates main non-free contrib" >>/etc/apt/sources.list \ && echo "deb-src http://ftp.cn.debian.org/debian/ bullseye-backports main non-free contrib" >>/etc/apt/sources.list \ && echo "deb http://mirrors.ustc.edu.cn/debian-security/ stable-security main non-free contrib" >>/etc/apt/sources.list \ - && echo "deb-src http://mirrors.ustc.edu.cn/debian-security/ stable-security main non-free contrib" >>/etc/apt/sources.list \ + && echo "deb-src http://mirrors.ustc.edu.cn/debian-security/ stable-security main non-free contrib" >>/etc/apt/sources.list \ && rm -rf /var/lib/apt/lists/* && apt-get update RUN apt install curl git -y @@ -27,4 +27,4 @@ RUN /usr/local/bin/python -m pip install poetry RUN poetry install && rm -rf /app/* -CMD poetry run python3 core.py \ No newline at end of file +CMD poetry run python3 core.py diff --git a/README.md b/README.md index 5d7f883..c133ad3 100644 --- a/README.md +++ b/README.md @@ -100,4 +100,4 @@ sv=SV( @sv.on_prefix('测试') async def get_msg(bot: Bot, ev: Event): ... -``` \ No newline at end of file +``` diff --git a/docker-compose.yml b/docker-compose.yml index d3bb963..0016fff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,11 +4,11 @@ services: container_name: gsuidcore restart: always environment: - - TZ=Asia/Shanghai + - TZ=Asia/Shanghai dns: - 114.114.114.114 - 114.114.115.115 ports: - 8765:8765 volumes: - - ${PWD}:/app \ No newline at end of file + - ${PWD}:/app