Files
smartmenu-collina/docker-entrypoint.sh
T
Jorem Juárez 5fb9c7a145 Initial build: Menú inteligente platform
Multi-tenant digital menu platform (Collina Systems): public QR menu with
glassmorphism + 3D macro flip cards, mobile-first editor with draft/publish
versioning (5-version history + restore), AI consultant & translation (Claude
Haiku), realtime orders via SSE, configurable palette, QR generation, superadmin
panel, and Docker/Coolify infra.
2026-06-13 19:33:00 -06:00

13 lines
321 B
Bash

#!/bin/sh
set -e
# Apply pending migrations against the database, then start the server.
echo "Running prisma migrate deploy…"
./node_modules/.bin/prisma migrate deploy
# Ensure the upload directory exists in the mounted volume.
mkdir -p "${UPLOAD_DIR:-/data/uploads}"
echo "Starting Next.js…"
exec node server.js