diff --git a/Dockerfile b/Dockerfile index 2c77791..251771e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,7 @@ RUN chown nextjs:nodejs .next COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static +COPY --from=builder --chown=nextjs:nodejs /app/node_modules/.prisma ./node_modules/.prisma USER nextjs diff --git a/app/page.tsx b/app/page.tsx index 271eaf0..3de2add 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -18,7 +18,15 @@ export default async function Page() { }); if (!restaurant) { - return
Veritabanı yükleniyor...
; + return ( +
+
+

LUNA

+

Henüz menü verisi bulunamadı veya veritabanı bağlantısı kurulamadı.

+

Lütfen admin panelinden bir restoran ve kategori oluşturulduğundan emin olun.

+
+
+ ); } // Map database structure to the structure expected by MenuView diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 84aea50..d51b693 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -1,5 +1,6 @@ generator client { provider = "prisma-client-js" + binaryTargets = ["native", "linux-musl-openssl-3.0.x"] } datasource db {