Skip to content

Commit 356894f

Browse files
xprilionCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent fe25d7f commit 356894f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile.dev

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ if ! /app/backend/.venv/bin/python -c "import sys" 2>/dev/null; then
4444
else
4545
# Venv works — run uv sync to pick up any new/changed dependencies
4646
echo "[dev-entrypoint] Syncing dependencies..."
47-
cd /app/backend && uv sync --quiet 2>/dev/null || true
47+
if ! (cd /app/backend && uv sync --quiet); then
48+
echo "[dev-entrypoint] Warning: dependency sync failed; continuing with existing environment." >&2
49+
fi
4850
# Ensure watchmedo is there too
4951
if ! command -v watchmedo >/dev/null 2>&1; then
5052
cd /app/backend && uv pip install "watchdog[watchmedo]"

0 commit comments

Comments
 (0)