build: add docker-compose deployment

This commit is contained in:
James Graham
2021-07-30 16:42:51 +01:00
parent 40c138de00
commit d2093f849a
6 changed files with 88 additions and 1 deletions

5
entrypoint.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
python manage.py migrate \
&& python manage.py collectstatic --no-input \
&& exec "$@"