Update docker file and entrypoint.

This commit is contained in:
James Cole
2019-02-02 15:56:36 +01:00
parent 49647eedae
commit de6758a972
2 changed files with 7 additions and 1 deletions

View File

@@ -25,6 +25,12 @@ then
echo "Touched!"
fi
if [[ $FF_DB_CONNECTION == "sqlite" ]]
then
touch $FIREFLY_PATH/storage/database/database.sqlite
echo "Touched!"
fi
# make sure we own the volumes:
echo "Run chown on ${FIREFLY_PATH}/storage..."
chown -R www-data:www-data -R $FIREFLY_PATH/storage