mirror of
https://github.com/pinry/pinry.git
synced 2025-11-13 08:35:41 +01:00
Reafactor: Docker auto-build should be a out-of-the-box image without any extra config
This commit is contained in:
@@ -9,13 +9,11 @@
|
||||
# Updated: Aug 19th, 2014
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
bash /scripts/bootstrap.sh
|
||||
|
||||
# If static files don't exist collect them
|
||||
if [ ! -d /data/static ]
|
||||
then
|
||||
cd /srv/www/pinry
|
||||
python manage.py collectstatic --noinput
|
||||
fi
|
||||
cd /srv/www/pinry
|
||||
python manage.py collectstatic --noinput
|
||||
|
||||
# If database doesn't exist yet create it
|
||||
if [ ! -f /data/production.db ]
|
||||
|
||||
Reference in New Issue
Block a user