fixing admin user

This commit is contained in:
2024-08-28 16:23:12 +02:00
parent 415455a881
commit cac711d2f6
3 changed files with 15 additions and 1 deletions

View File

@@ -21,6 +21,8 @@ COPY . /app/
RUN python manage.py collectstatic --noinput --clear
RUN python manage.py migrate --noinput
RUN python manage.py createsuperuser --username admin --email admin@example.com --password mysecretpassword --noinput
EXPOSE 8000