feat: 更新 Dockerfile 和 docker-compose.yml,使用清华镜像源,升级 CVAT 版本,优化环境配置

fix: 清理飞书配置占位符,增强错误处理,确保前端不暴露内部错误信息
feat: 在标注服务中添加上传错误处理,优化 CVAT 状态查询
feat: 更新 AnnotationPage 以显示上传状态和错误信息,增强用户体验
feat: 登录页面添加重定向功能,优化用户登录流程
refactor: 删除 tsconfig.tsbuildinfo 文件,清理不必要的构建信息
This commit is contained in:
2026-07-15 09:18:53 +08:00
parent 7f3b84faf0
commit 20073eaa59
10 changed files with 150 additions and 30 deletions

View File

@@ -11,20 +11,26 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONPATH=/data/hsap/platform
RUN apt-get update && apt-get install -y --no-install-recommends \
ARG DEBIAN_MIRROR=mirrors.tuna.tsinghua.edu.cn
RUN sed -i "s|deb.debian.org|${DEBIAN_MIRROR}|g" /etc/apt/sources.list.d/debian.sources 2>/dev/null || \
sed -i "s|deb.debian.org|${DEBIAN_MIRROR}|g" /etc/apt/sources.list && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
libpq5 curl bash \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /data/hsap
ARG PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -i "${PIP_INDEX_URL}" -r requirements.txt
COPY platform/ ./platform/
COPY scripts/ ./scripts/
COPY datasets/ ./datasets/
COPY as.py workflow.registry.yaml ./
COPY algorithms/registry.yaml ./algorithms/
COPY algorithms/ ./algorithms/
COPY docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh