zhangyong 3 months ago
parent
commit
e5c5e90bee
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

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