ci(docker): 更新自动化部署配置

This commit is contained in:
imgyh 2023-05-21 16:44:38 +08:00
parent d87cf4f837
commit ce385d9608
4 changed files with 6 additions and 3 deletions

View File

@ -50,6 +50,7 @@ jobs:
# 生成多平台镜像, 看 基础镜像 有哪些平台的镜像,下面就写哪些。
platforms: |
linux/amd64
linux/386
linux/arm/v7
linux/arm64/v8
# docker build arg, 注入 APP_NAME/APP_VERSION

View File

@ -9,7 +9,7 @@ ADD . $WORKDIR
RUN sed -i s/deb.debian.org/mirrors.aliyun.com/g /etc/apt/sources.list
RUN pip3 install -r requirements.txt
RUN pip3 install -r requirements_docker.txt
ENV TZ=Asia/Shanghai

View File

@ -1,7 +1,5 @@
requests==2.28.2
flask==2.2.2
pyinstaller==5.7.0
PyExecJS==1.5.1
rich==13.3.2
tqdm==4.65.0
PyYAML==6.0

4
requirements_docker.txt Normal file
View File

@ -0,0 +1,4 @@
requests==2.28.2
flask==2.2.2
tqdm==4.65.0
PyYAML==6.0