feat: improve sidebar and deployment setup

This commit is contained in:
JetSprow
2026-04-29 06:07:52 +10:00
parent 581d4448ef
commit 2a50d789dd
13 changed files with 659 additions and 61 deletions

View File

@@ -22,7 +22,7 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npx prisma generate
CMD ["sh", "-c", "npx prisma db push --accept-data-loss && npx tsx prisma/seed.ts"]
CMD ["sh", "-c", "npm run db:push && npm run db:seed"]
# --- runner: minimal production image ---
FROM base AS runner