Add Docker support with Dockerfile and entrypoin

This commit is contained in:
krek0 2026-05-03 16:54:46 +02:00
parent 75296c903a
commit 0e1b1f5a35
9 changed files with 208 additions and 2 deletions

7
entrypoint.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
set -e
python manage.py collectstatic --noinput
python manage.py migrate --noinput
python manage.py create_default_admin
exec gunicorn photo21.wsgi:application --bind 0.0.0.0:8000 --workers 3