From 996ed3d776750c7aeb3a993ac4667ccee3917919 Mon Sep 17 00:00:00 2001 From: pi-ux-ce Date: Tue, 2 Dec 2025 00:27:30 +0000 Subject: [PATCH] Update dockerfile --- dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dockerfile b/dockerfile index 4e5f5e2..09cf4ff 100644 --- a/dockerfile +++ b/dockerfile @@ -16,6 +16,7 @@ RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of your application code (Changes frequently, invalidates subsequent cache) COPY . ./ +RUN python django_code/manage.py migrate # CMD is the command run when the container starts CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]