diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 308e451..8696eab 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -50,6 +50,7 @@ jobs: # 生成多平台镜像, 看 基础镜像 有哪些平台的镜像,下面就写哪些。 platforms: | linux/amd64 + linux/386 linux/arm/v7 linux/arm64/v8 # docker build arg, 注入 APP_NAME/APP_VERSION diff --git a/Dockerfile b/Dockerfile index 18dc486..6ff08b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/requirements.txt b/requirements.txt index 0747e55..d5d877b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 \ No newline at end of file diff --git a/requirements_docker.txt b/requirements_docker.txt new file mode 100644 index 0000000..325d588 --- /dev/null +++ b/requirements_docker.txt @@ -0,0 +1,4 @@ +requests==2.28.2 +flask==2.2.2 +tqdm==4.65.0 +PyYAML==6.0 \ No newline at end of file