forked from ungleich-public/dynamicweb
Rename celery.py to pr_celery => causing conflict in names
This commit is contained in:
parent
10c3c2381c
commit
c52dff2c10
4 changed files with 17 additions and 2 deletions
15
entrypoint.sh
Normal file
15
entrypoint.sh
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Wait for the database to be available
|
||||
while ! nc -z db 5432; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
# Apply database migrations
|
||||
python manage.py migrate
|
||||
|
||||
# Collect static files
|
||||
python manage.py collectstatic --no-input
|
||||
|
||||
# Start the server
|
||||
python manage.py runserver 0.0.0.0:8000
|
||||
Loading…
Add table
Add a link
Reference in a new issue