Set it so Docker image uses an empty database by default.

This commit is contained in:
John Washam
2016-12-22 12:20:23 -08:00
parent f9a7a4cdc8
commit 074610cb4f
4 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
if [ ! -f /src/db/cards.db ]; then
cp cards-jwasham.db /src/db/cards.db
cp cards-empty.db /src/db/cards.db
fi
export CARDS_SETTINGS=/src/config.txt