christmas/Dockerstart.sh

10 lines
136 B
Bash
Raw Normal View History

2020-11-03 17:16:23 -08:00
#!/bin/bash
set -e
if [ -d /data/db ]; then
mkdir -p /data/dbs
mv /data/db /data/dbs/users
echo "Migrated database"
fi
npm start