Skip to content

Commit 381cae5

Browse files
Merge pull request #129 from Digital-Alchemy-TS/server/dbLocation
Server/db location
2 parents 1b8558f + ec08ba2 commit 381cae5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/docker-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ echo "🔧 Code Glue startup..."
55

66
cd /work
77

8+
# Ensure /data directory exists
9+
mkdir -p /data
10+
811
# Run database migrations using drizzle-kit
912
echo "📦 Running database migrations..."
1013
(cd /work/apps/server && export DATABASE_URL="file:/data/synapse_storage.db" && npx drizzle-kit migrate)

0 commit comments

Comments
 (0)