From 031b93558499b8bda6c43b1dd3e67cedcc5cfb97 Mon Sep 17 00:00:00 2001 From: Ryan Hamilton Date: Fri, 25 Jul 2025 09:15:37 -0500 Subject: [PATCH] fix: ensure virtual environment is activated before running migrations --- entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 989c038..fef04ae 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,10 @@ #!/bin/ash +# Activate the virtual environment +source .virtualenv/bin/activate + +# Run Django migrations ./manage.py migrate + +# Start the Django development server exec ./manage.py runserver 0:8080