Skip to content

Commit ac95dc4

Browse files
committed
Disable editable uv sync in Dockerfile
1 parent 1e83c23 commit ac95dc4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
1212
COPY . app
1313
WORKDIR /app
1414

15-
RUN uv sync --extra pg
1615
RUN chown -R 1001:0 /app
16+
RUN uv sync --extra pg --frozen --no-dev --no-editable
1717

1818
USER 1001
1919

backend/entrypoint

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22
set -ex
33

4-
uv run alembic upgrade head
5-
exec uv run uvicorn acidwatch_api.app:app --host 0.0.0.0 --port 8000
4+
uv run --no-sync alembic upgrade head
5+
exec uv run --no-sync uvicorn acidwatch_api.app:app --host 0.0.0.0 --port 8000

0 commit comments

Comments
 (0)