12 lines
194 B
Bash
Executable File
12 lines
194 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Migraciones
|
|
python manage.py migrate --noinput
|
|
|
|
# Recolectar estáticos
|
|
python manage.py collectstatic --noinput
|
|
|
|
# Ejecutar el comando que se pase al contenedor
|
|
exec "$@"
|