fhenriquez
fhenriquez
PPrisma
Created by fhenriquez on 1/21/2025 in #help-and-questions
Issue with seeding in Next.js + Prisma + Docker + SQLite
Hi everyone, I have an application with Next.js, Prisma, Docker, and SQLite. Everything works fine in development, but when I run the Docker image and execute the npm run seed command, the data is successfully added, but it doesn't reflect in the application until I restart it. This also happens when using Prisma Studio. Has anyone experienced a similar issue? How can I resolve it? I ran the container with npm run dev and everything worked fine. Does anyone know what it is causing this behavior? And how can I make it work with npm run start? Thanks in advance #
9 replies