From 3dd8fdb7ca1526c98d1eb3f64592e81ec0c40c3c Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 30 Oct 2024 10:47:00 +0000 Subject: [PATCH] try to apply migrations --- dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dockerfile b/dockerfile index 2b6ddd8..450a636 100644 --- a/dockerfile +++ b/dockerfile @@ -6,6 +6,7 @@ COPY requirements.txt ./ COPY django_code ./ RUN pip install --no-cache-dir -r requirements.txt +RUN python django_code/manage.py migrate COPY . . CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]