Modify: Dockerfile use bild args and add healthchek docker-compose use env

This commit is contained in:
2023-09-04 22:14:58 +09:00
parent 8971752e5b
commit e95de1b553
3 changed files with 63 additions and 15 deletions

6
scripts/entrypoint.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
python manage.py migrate --no-input
python manage.py collectstatic --no-input
gunicorn logs_collector.wsgi:application