This commit is contained in:
2024-09-11 01:42:46 +02:00
parent 85098d8dbc
commit eea0897120
2 changed files with 37 additions and 6 deletions

View File

@@ -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