...
This commit is contained in:
@@ -20,7 +20,8 @@ RUN pip install --upgrade pip \
|
||||
COPY . /app/
|
||||
|
||||
RUN python manage.py collectstatic --noinput --clear
|
||||
RUN python manage.py migrate --noinput
|
||||
RUN python manage.py makemigrations
|
||||
RUN python manage.py migrate
|
||||
RUN python manage.py createsuperuser --username "admin" --email "admin@example.com" --password "mysecretpassword"
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
Reference in New Issue
Block a user