Skip to content

Commit

Permalink
feat: add vector database warm-up to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
awwaawwa committed Sep 20, 2024
1 parent 0beefcd commit e06d946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/GithubAction+NoLocal+Latex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY . .
# RUN pip3 install -r requirements.txt

# 可选步骤,用于预热模块
RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()'
RUN python3 -c 'from check_proxy import warm_up_modules, warm_up_vectordb; warm_up_modules(); warm_up_vectordb();'

# 启动
CMD ["python3", "-u", "main.py"]

0 comments on commit e06d946

Please sign in to comment.