✨ Load custom fields when creating the container.
This commit is contained in:
parent
b505aac213
commit
8e98b8d870
4 changed files with 33 additions and 0 deletions
|
@ -39,6 +39,10 @@ if not User.objects.filter(username='${SUPERUSER_NAME}'):
|
|||
Token.objects.create(user=u, key='${SUPERUSER_API_TOKEN}')
|
||||
END
|
||||
|
||||
for script in $(ls startup_scripts/*.py 2> /dev/null); do
|
||||
./manage.py shell --plain < "${script}"
|
||||
done
|
||||
|
||||
# copy static files
|
||||
./manage.py collectstatic --no-input
|
||||
|
||||
|
|
0
docker/startup_scripts/.gitkeep
Normal file
0
docker/startup_scripts/.gitkeep
Normal file
Loading…
Add table
Add a link
Reference in a new issue