diff --git a/Dockerfile b/Dockerfile index a0a520ae..0dee8cec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,7 @@ COPY . /app/ RUN python manage.py collectstatic --noinput --clear RUN python manage.py migrate --noinput -RUN django-admin createsuperuser --username admin --email admin@example.com --noinput - +RUN python manage.py createsuperuser --username "admin" --email "admin@example.com" --password "mysecretpassword" EXPOSE 8000