diff --git a/backend/Dockerfile b/backend/Dockerfile index aa4f12e..ceb165d 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -13,6 +13,7 @@ COPY common ./common COPY backend ./backend COPY alembic.ini ./ COPY migrations ./migrations +RUN uv sync --frozen --no-dev --package runtime EXPOSE 8000 diff --git a/runtime/Dockerfile b/runtime/Dockerfile index b6eabb4..7108a80 100644 --- a/runtime/Dockerfile +++ b/runtime/Dockerfile @@ -36,8 +36,8 @@ RUN uv venv --seed --python 3.12 /opt/venv/python3.12 && \ COPY common ./common COPY runtime ./runtime - RUN uv sync --frozen --no-dev --package runtime + RUN mkdir -p /root/.jupyter/custom /app/.venv/share/jupyter/custom && \ echo '#top-panel, #top-panel-wrapper, .jp-Notebook-header, .jp-FileEditorHeader {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