Initial commit
This commit is contained in:
14
docker/entrypoint.sh
Normal file
14
docker/entrypoint.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
mkdir -p public/uploads
|
||||
|
||||
echo "Applying database migrations..."
|
||||
npx prisma migrate deploy
|
||||
|
||||
echo "Seeding demo data..."
|
||||
npx prisma db seed
|
||||
|
||||
echo "Starting Next.js..."
|
||||
exec npm run start
|
||||
|
||||
Reference in New Issue
Block a user