From 32125955fc7ff311abd3193b160ee6dd143df111 Mon Sep 17 00:00:00 2001 From: Amir Date: Wed, 28 Aug 2024 17:01:12 +0200 Subject: [PATCH] .. --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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