zhangyong 3 months ago
parent
commit
ef55771dce
2 changed files with 1 additions and 8 deletions
  1. 1 3
      Dockerfile
  2. 0 5
      requirements.txt

+ 1 - 3
Dockerfile

@@ -6,9 +6,7 @@ COPY . .
 
 ENV TZ=Asia/Shanghai
 
-RUN apt update && apt --no-install-recommends install -y libgl-dev libglib2.0-dev \
-    && apt-get clean && rm -rf /var/lib/apt/lists/* \
-    && pip install -r requirements.txt --no-cache-dir \
+RUN pip install -r requirements.txt --no-cache-dir \
     && mkdir -p /app/cache
 
 #ENTRYPOINT ["python", "/app/job.py"]

+ 0 - 5
requirements.txt

@@ -9,10 +9,5 @@ schedule==1.2.2
 lark-oapi==1.4.8
 orjson==3.10.13
 oss2==2.19.1
-protobuf==5.26.1
-pydantic==2.10.4
-PyMySQL==1.1.1
-redis==5.2.1
 requests==2.32.3
-yarl==1.18.3
 apscheduler==3.11.0