Skip to content
Snippets Groups Projects
Commit 98ba93a4 authored by frederick.ney's avatar frederick.ney
Browse files

updating entrypoint

parent f4269fbf
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,11 @@ start_migration() {
return 0
}
collect_static() {
echo "collecting static files"
python manage.py collectstatic --no-input
}
CMD="/bin/bash"
if [ $1 ]
then
......@@ -58,6 +63,7 @@ then
echo "Stopping"
exit -1
fi
collect_static
echo "Running: $@"
$@
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment