From e93f00321e999a274e36c7f02dbf46b6dea96ddd Mon Sep 17 00:00:00 2001 From: pierre geeraert Date: Sun, 21 Jun 2026 21:38:19 +0100 Subject: [PATCH] no need for migration if the DB doesn't exist --- dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/dockerfile b/dockerfile index e280d64..87e2f2d 100644 --- a/dockerfile +++ b/dockerfile @@ -23,7 +23,6 @@ RUN pip install --cache-dir=/opt/hostedtoolcache/pip -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" ]