Fix dockerfile
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user