feat: Add pygrocy installation via tar.gz file
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
12af366fe2
commit
8bec2fe1c7
@ -7,6 +7,12 @@ WORKDIR /app
|
|||||||
# 将 requirements.txt 复制到容器中
|
# 将 requirements.txt 复制到容器中
|
||||||
COPY 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
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@ Mastodon.py==1.8.1
|
|||||||
numpy==1.26.1
|
numpy==1.26.1
|
||||||
peewee==3.17.0
|
peewee==3.17.0
|
||||||
Pillow==10.1.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
|
PyYAML==6.0.1
|
||||||
redis==4.6.0
|
redis==4.6.0
|
||||||
reportlab==4.0.7
|
reportlab==4.0.7
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user