Refactor Dockerfile and entrypoint script; add Makefile for build and test commands

This commit is contained in:
2026-04-20 08:10:12 +02:00
parent 987466e11d
commit e3f492ded5
3 changed files with 10 additions and 11 deletions
+3 -1
View File
@@ -1,11 +1,13 @@
#!/bin/sh
set -eu
echo "Sleeping due to mysql..."
sleep 10
echo "Running DB migrations..."
python manage.py migrate
echo "Collecting STATIC..."
python manage.py collectstatic --noinput
python manage.py collectstatic --noinput --clear
echo "Running server!"