..
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user