mirror of
https://github.com/imgyh/tiktok.git
synced 2025-04-05 10:42:43 +08:00
ci(docker): 更新自动化部署配置
This commit is contained in:
parent
d87cf4f837
commit
ce385d9608
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
@ -50,6 +50,7 @@ jobs:
|
|||||||
# 生成多平台镜像, 看 基础镜像 有哪些平台的镜像,下面就写哪些。
|
# 生成多平台镜像, 看 基础镜像 有哪些平台的镜像,下面就写哪些。
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
|
linux/386
|
||||||
linux/arm/v7
|
linux/arm/v7
|
||||||
linux/arm64/v8
|
linux/arm64/v8
|
||||||
# docker build arg, 注入 APP_NAME/APP_VERSION
|
# docker build arg, 注入 APP_NAME/APP_VERSION
|
||||||
|
@ -9,7 +9,7 @@ ADD . $WORKDIR
|
|||||||
|
|
||||||
RUN sed -i s/deb.debian.org/mirrors.aliyun.com/g /etc/apt/sources.list
|
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
|
ENV TZ=Asia/Shanghai
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
requests==2.28.2
|
requests==2.28.2
|
||||||
flask==2.2.2
|
flask==2.2.2
|
||||||
pyinstaller==5.7.0
|
pyinstaller==5.7.0
|
||||||
PyExecJS==1.5.1
|
|
||||||
rich==13.3.2
|
|
||||||
tqdm==4.65.0
|
tqdm==4.65.0
|
||||||
PyYAML==6.0
|
PyYAML==6.0
|
4
requirements_docker.txt
Normal file
4
requirements_docker.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
requests==2.28.2
|
||||||
|
flask==2.2.2
|
||||||
|
tqdm==4.65.0
|
||||||
|
PyYAML==6.0
|
Loading…
x
Reference in New Issue
Block a user