update: hide top-panel

This commit is contained in:
tao.chen
2026-08-03 19:51:24 +08:00
parent 6c4bf47487
commit e19340332a
2 changed files with 3 additions and 6 deletions
+3 -1
View File
@@ -37,7 +37,9 @@ COPY common ./common
COPY runtime ./runtime COPY runtime ./runtime
RUN UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv sync --frozen --no-dev --no-editable --package 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 RUN mkdir -p /root/.jupyter/custom /app/.venv/share/jupyter/custom
RUN echo '#top-panel { display: none !important; height: 0 !important; }' > /root/.jupyter/custom/custom.css && \
cp /root/.jupyter/custom/custom.css /app/.venv/share/jupyter/custom/custom.css
EXPOSE 8000 EXPOSE 8000
CMD ["uv", "run", "--frozen", "--package", "runtime", "gunicorn", "--config", "runtime/gunicorn.conf.py", "runtime.main:app"] CMD ["uv", "run", "--frozen", "--package", "runtime", "gunicorn", "--config", "runtime/gunicorn.conf.py", "runtime.main:app"]
-5
View File
@@ -1,5 +0,0 @@
{
"@jupyterlab/apputils-extension:themes": {
"rawOverrides": "#top-panel { display: none !important; height: 0 !important; }"
}
}