Remove unsupported --no-editable flag from backend Dockerfile

This commit is contained in:
Ryan Malloy 2026-02-13 03:38:08 -07:00
parent 4600a7b0a9
commit 5aa36b252a

View File

@ -37,13 +37,13 @@ ENV UV_COMPILE_BYTECODE=1
# Install dependencies first (no source yet -- better caching) # Install dependencies first (no source yet -- better caching)
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv pip install --system --no-editable . uv pip install --system .
COPY src/ ./src/ COPY src/ ./src/
# Re-install with source to get the package registered # Re-install with source to get the package registered
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
uv pip install --system --no-editable . uv pip install --system .
# Run as non-root # Run as non-root
RUN useradd --create-home --shell /bin/bash spicebook RUN useradd --create-home --shell /bin/bash spicebook