We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 280125c commit 3ed5c4dCopy full SHA for 3ed5c4d
deployments/docker-entrypoint.sh
@@ -7,8 +7,18 @@ if [[ "$#" -gt 0 ]]; then
7
exit $?
8
fi
9
10
+
11
# check database and redis is ready
-pcheck -env CMD_DB_URL
12
+if [[ $CMD_DB_URL != "sqlite"* ]] ;
13
+then
14
+ pcheck -env CMD_DB_URL
15
+fi
16
17
+# Install sqlite3 if required
18
+if [[ $CMD_DB_URL == "sqlite"* ]] ;
19
20
+ npm install sqlite3
21
22
23
# run DB migrate
24
NEED_MIGRATE=${CMD_AUTO_MIGRATE:=true}
0 commit comments