Remove --reload-dir from API dev CMD
uvicorn's path check for --reload-dir fails in Podman rootless even though uv sync can read the same path. Drop the flag — the editable install already points uvicorn's watcher at /app/src implicitly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@ COPY pyproject.toml .
|
|||||||
COPY src/ src/
|
COPY src/ src/
|
||||||
RUN uv sync
|
RUN uv sync
|
||||||
COPY . .
|
COPY . .
|
||||||
CMD ["uv", "run", "uvicorn", "rehearsalhub.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-dir", "/app/src"]
|
CMD ["uv", "run", "uvicorn", "rehearsalhub.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
|
||||||
|
|
||||||
FROM base AS lint
|
FROM base AS lint
|
||||||
COPY pyproject.toml .
|
COPY pyproject.toml .
|
||||||
|
|||||||
Reference in New Issue
Block a user