diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ RUN service postgresql start \ # Create a admin user (Insecure note, this creates a default user, username: admin/admin) RUN /start.sh \ - && echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'admin@localhost.com', 'admin')" | lava-server manage shell \ + && lava-server manage users add --passwd admin --staff --superuser --email admin@example.com admin \ && /stop.sh # Install latest |