Merge pull request 'no need for migration if the DB doesn't exist' (#13) from testing into main
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m7s

Reviewed-on: #13
This commit was merged in pull request #13.
This commit is contained in:
2026-06-21 20:39:15 +00:00
-1
View File
@@ -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" ]