From 6c4bf4748754541d5fce7d3f0836f2023b61f986 Mon Sep 17 00:00:00 2001 From: "tao.chen" <93983997+taochen-ct@users.noreply.github.com> Date: Mon, 3 Aug 2026 19:43:51 +0800 Subject: [PATCH] update: hide top-panel --- runtime/Dockerfile | 2 ++ runtime/overrides.json | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 runtime/overrides.json diff --git a/runtime/Dockerfile b/runtime/Dockerfile index 124aa7e..3ab9720 100644 --- a/runtime/Dockerfile +++ b/runtime/Dockerfile @@ -37,5 +37,7 @@ 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 +COPY overrides.json /app/.venv/share/jupyter/lab/settings/overrides.json + EXPOSE 8000 CMD ["uv", "run", "--frozen", "--package", "runtime", "gunicorn", "--config", "runtime/gunicorn.conf.py", "runtime.main:app"] diff --git a/runtime/overrides.json b/runtime/overrides.json new file mode 100644 index 0000000..30bbed3 --- /dev/null +++ b/runtime/overrides.json @@ -0,0 +1,5 @@ +{ + "@jupyterlab/apputils-extension:themes": { + "rawOverrides": "#top-panel { display: none !important; height: 0 !important; }" + } +} \ No newline at end of file