fix: prisma 7 configuration and docker runtime copy
All checks were successful
Build and Push App / build (push) Successful in 30s
All checks were successful
Build and Push App / build (push) Successful in 30s
This commit is contained in:
@@ -33,6 +33,7 @@ RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/prisma ./prisma
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/prisma.config.ts ./prisma.config.ts
|
||||
|
||||
# Set the correct permission for prerender cache
|
||||
RUN mkdir .next
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
export default {
|
||||
import { defineConfig } from '@prisma/config';
|
||||
|
||||
export default defineConfig({
|
||||
datasource: {
|
||||
url: process.env.DATABASE_URL,
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user