Remove unsupported --no-editable flag from backend Dockerfile
This commit is contained in:
parent
4600a7b0a9
commit
5aa36b252a
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user