feat : 调整skillhub-scanner 服务启动 root_path路径问题

This commit is contained in:
翟二远 2026-04-07 14:18:59 +08:00
parent 29093a452d
commit 958beb5863

View file

@ -65,4 +65,4 @@ EXPOSE 8000
HEALTHCHECK --interval=10s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:8000/health || exit 1
CMD ["skill-scanner-api", "--host", "0.0.0.0", "--port", "8000", "--root-path", "/skillhub"]
CMD ["uvicorn", "skill_scanner.api.api:app", "--host", "0.0.0.0", "--port", "8000", "--root-path", "/skillhub"]