Add Docker support with Dockerfile and entrypoint
Some checks failed
Docker / build (push) Failing after 1m11s

This commit is contained in:
krek0 2026-05-03 11:17:53 +02:00
parent faf880a236
commit f38b947390
8 changed files with 118 additions and 2 deletions

5
entrypoint.sh Normal file
View file

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