mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 11:14:06 +00:00
Production docker improvements (#463)
* Update production dockerfiles for testing * Add bash, nano and remove unecessary sqlite3 alpine package
This commit is contained in:
committed by
GitHub
parent
3e96297699
commit
770da45dbf
@@ -28,7 +28,7 @@ if [ "$DB_CONNECTION" = "sqlite" ] || [ -z "$DB_CONNECTION" ]; then
|
||||
if [ ! -e "$DB_DATABASE" ]; then
|
||||
echo "**** Specified sqlite database doesn't exist. Creating it ****"
|
||||
echo "**** Please make sure your database is on a persistent volume ****"
|
||||
sqlite3 "$DB_DATABASE" "VACUUM;"
|
||||
cp /var/wwwp/html/database/stubs/sqlite.empty.db "$DB_DATABASE"
|
||||
fi
|
||||
chown www-data:www-data "$DB_DATABASE"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user