no need for migration if the DB doesn't exist
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
pierre geeraert
2026-06-21 21:38:19 +01:00
parent 914e1c691f
commit e93f00321e
-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 the rest of your application code (Changes frequently, invalidates subsequent cache)
COPY . ./ COPY . ./
RUN python django_code/manage.py migrate
# CMD is the command run when the container starts # CMD is the command run when the container starts
CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ] CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]