Skip to content

Commit 616065e

Browse files
Ensure docker local does not update pckgs
1 parent 117dc75 commit 616065e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

backend/Dockerfile.local

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
1313
WORKDIR /app
1414

1515
COPY pyproject.toml uv.lock ./
16-
RUN uv sync --no-install-project
16+
RUN uv sync --no-install-project --no-editable
1717

1818
COPY . .
1919

20-
RUN uv sync
20+
RUN uv sync --no-editable
2121

2222
USER 1001
2323

2424
ENV UV_NO_CACHE=1
2525
ENV PYTHONDONTWRITEBYTECODE 1
2626
ENV PYTHONUNBUFFERED 1
2727

28-
CMD ["uv", "run", "uvicorn", "acidwatch_api.app:app", "--host", "0.0.0.0", "--port", "8001", "--reload"]
28+
CMD ["uv", "run", "--no-sync", "uvicorn", "acidwatch_api.app:app", "--host", "0.0.0.0", "--port", "8001", "--reload"]

0 commit comments

Comments
 (0)