chore: push all remaining workspace changes
This commit is contained in:
@@ -3,8 +3,15 @@ set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
# Prevent path leakage between host Nuxt build cache and Docker runtime.
|
||||
# Host-generated .nuxt can contain absolute /Users/... imports that break in /app.
|
||||
rm -rf .nuxt .output
|
||||
|
||||
# Install deps (container starts from a clean image).
|
||||
npm ci
|
||||
# Fallback to npm install when lockfile was produced by a newer npm major.
|
||||
if ! npm ci; then
|
||||
npm install
|
||||
fi
|
||||
|
||||
# DB path used by DATABASE_URL="file:../../.data/clientsflow-dev.db" from /app/Frontend
|
||||
DB_FILE="/app/.data/clientsflow-dev.db"
|
||||
@@ -20,4 +27,3 @@ fi
|
||||
node prisma/seed.mjs
|
||||
|
||||
exec npm run dev -- --host 0.0.0.0 --port 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user