SQLite Error: Database is locked with Docker + Next.js + Drizzle
My
my
i do it in production just like i do it in development.
i don't think i need migrate at all in production so i sometimes comment it out. i probably need to copy
anyhow, i get database locked error at the
i've detailed my question on stackoverflow as discord doesn't allow long-form code without going over character limit.
https://stackoverflow.com/q/77986435/6141587
please take a look if you got sqlite + drizzle working on docker? there are few resources on this. many are complicated af.
docker-compose.yml is:my
Dockerfile is huge but the relevant bits are:i do it in production just like i do it in development.
i don't think i need migrate at all in production so i sometimes comment it out. i probably need to copy
migrations folder into production i guess. can someone correct me here?anyhow, i get database locked error at the
npm run build command that next.js needs to build production builds.i've detailed my question on stackoverflow as discord doesn't allow long-form code without going over character limit.
https://stackoverflow.com/q/77986435/6141587
please take a look if you got sqlite + drizzle working on docker? there are few resources on this. many are complicated af.
Stack Overflow
I have a Next.js application that I'm trying to dockerize.
My stack is Next.js (Node.js framework) + Docker + Drizzle ORM + better-sqlite3
It currently works in development without docker using pnp...
My stack is Next.js (Node.js framework) + Docker + Drizzle ORM + better-sqlite3
It currently works in development without docker using pnp...