github action change

This commit is contained in:
binary-husky
2024-12-22 14:15:16 +08:00
parent 734c40bbde
commit f40347665b
6 changed files with 12 additions and 1 deletions

View File

@@ -30,5 +30,7 @@ COPY --chown=gptuser:gptuser . .
# 可选步骤,用于预热模块
RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()'
RUN python3 -m pip cache purge
# 启动
CMD ["python3", "-u", "main.py"]