From a6692338cc097ed56004cf526160f772d4d794e2 Mon Sep 17 00:00:00 2001 From: "tao.chen" <93983997+taochen-ct@users.noreply.github.com> Date: Tue, 4 Aug 2026 17:58:10 +0800 Subject: [PATCH] fix: runtime build failed --- runtime/Dockerfile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/runtime/Dockerfile b/runtime/Dockerfile index b8224b1..b4d1a16 100644 --- a/runtime/Dockerfile +++ b/runtime/Dockerfile @@ -42,22 +42,8 @@ COPY common ./common COPY runtime ./runtime RUN UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv sync --frozen --no-dev --no-editable --package runtime -RUN mkdir -p /root/.jupyter/custom /app/.venv/share/jupyter/custom && \ - cat << 'EOF' > /root/.jupyter/custom/custom.css -#top-panel, -#top-panel-wrapper { - display: none !important; - height: 0 !important; - min-height: 0 !important; - margin: 0 !important; - padding: 0 !important; - border: none !important; - position: absolute !important; - pointer-events: none !important; -} -EOF - -RUN cp /root/.jupyter/custom/custom.css /app/.venv/share/jupyter/custom/custom.css +RUN echo '#top-panel, #top-panel-wrapper { display: none !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: none !important; position: absolute !important; pointer-events: none !important; }' > /root/.jupyter/custom/custom.css && \ + cp /root/.jupyter/custom/custom.css /app/.venv/share/jupyter/custom/custom.css EXPOSE 8000 CMD ["uv", "run", "--frozen", "--package", "runtime", "gunicorn", "--config", "runtime/gunicorn.conf.py", "runtime.main:app"]