update: hide top-panel
This commit is contained in:
+3
-1
@@ -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"]
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"@jupyterlab/apputils-extension:themes": {
|
|
||||||
"rawOverrides": "#top-panel { display: none !important; height: 0 !important; }"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user