feat: Add pygrocy installation via tar.gz file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ching 2024-03-04 22:39:09 +08:00
parent 12af366fe2
commit 8bec2fe1c7
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,12 @@ WORKDIR /app
# 将 requirements.txt 复制到容器中
COPY requirements.txt ./
# download file from cdn
RUN wget -O /app/pygrocy.tar.gz https://cdn.tunpok.com/pygrocy-2-0-1.tar.gz
# install pygrocy
RUN pip install /app/pygrocy.tar.gz
# 安装依赖
RUN pip install --no-cache-dir -r requirements.txt

View File

@ -12,7 +12,7 @@ Mastodon.py==1.8.1
numpy==1.26.1
peewee==3.17.0
Pillow==10.1.0
pygrocy @ git+https://github.com/looching/pygrocy@develop
# pygrocy @ git+https://github.com/looching/pygrocy@develop
PyYAML==6.0.1
redis==4.6.0
reportlab==4.0.7