Fix dockerfile

This commit is contained in:
2025-12-27 21:07:53 +01:00
parent 378c5104a8
commit 1ce26419c0
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ RUN npm install
# Copy the rest of the code # Copy the rest of the code
COPY . . COPY . .
RUN npx prisma generate RUN npx prisma generate
RUN npx prisma db seed
# Expose the dev port # Expose the dev port
EXPOSE 3000 EXPOSE 3000

View File

@ -7,7 +7,7 @@ export default defineConfig({
schema: "prisma/schema.prisma", schema: "prisma/schema.prisma",
migrations: { migrations: {
path: "prisma/migrations", path: "prisma/migrations",
seed: 'npm prisma/seed.ts', seed: 'bun prisma/seed.ts',
}, },
datasource: { datasource: {
url: process.env["DATABASE_URL"], url: process.env["DATABASE_URL"],