Skip to content

Commit c20bc2c

Browse files
heysamtexasclaude
andcommitted
fix: update entrypoint.sh to use uv run for Django commands
Updates entrypoint.sh to use uv run for all Django management commands to ensure dependencies are available in the uv-managed virtual environment, fixing Django import errors in production. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 28520fc commit c20bc2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
cmd="$@"
66

7-
./manage.py collectstatic --noinput
8-
./manage.py migrate
7+
uv run ./manage.py collectstatic --noinput
8+
uv run ./manage.py migrate
99

10-
exec $cmd
10+
exec uv run $cmd

0 commit comments

Comments
 (0)