13 lines
204 B
Bash
13 lines
204 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Included into the built image via its Dockerfile
|
|
|
|
DB_FILE="/app/data/chainmapper.sqlite3"
|
|
|
|
if [ -s $DB_FILE ]; then
|
|
exit 0
|
|
else
|
|
echo "Database file not found"
|
|
exit 1
|
|
fi
|