diff --git a/Dockerfile b/Dockerfile index a1caf040..a0a520ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ 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 +RUN django-admin createsuperuser --username admin --email admin@example.com --noinput EXPOSE 8000