diff --git a/runtime/Dockerfile b/runtime/Dockerfile index 3ab9720..b2df1d7 100644 --- a/runtime/Dockerfile +++ b/runtime/Dockerfile @@ -37,7 +37,9 @@ 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 +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 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 deleted file mode 100644 index 30bbed3..0000000 --- a/runtime/overrides.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "@jupyterlab/apputils-extension:themes": { - "rawOverrides": "#top-panel { display: none !important; height: 0 !important; }" - } -} \ No newline at end of file