Skip to content

Commit ab0dca9

Browse files
committed
fix: replace uv run by bare metal uvicorn in dev dockerfile
1 parent 07de192 commit ab0dca9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
44

55
ENV PYTHONDONTWRITEBYTECODE=1 \
66
PYTHONUNBUFFERED=1 \
7-
UV_SYSTEM_PYTHON=1
7+
UV_SYSTEM_PYTHON=1 \
8+
PATH="/.venv/bin:$PATH"
89

910
WORKDIR /
1011

@@ -16,4 +17,4 @@ RUN uv sync --frozen --no-dev --no-cache
1617

1718
EXPOSE 8000
1819

19-
CMD ["uv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-dir", "app", "--reload-exclude", "repositories"]
20+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-dir", "app", "--reload-exclude", "repositories"]

0 commit comments

Comments
 (0)