From a3f49f2a2f5578d938e357dc2bc03f138bfaeb02 Mon Sep 17 00:00:00 2001 From: ange Date: Fri, 25 Oct 2024 19:36:26 +0700 Subject: [PATCH] FIX: prisma generate --- back-end/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/back-end/Dockerfile b/back-end/Dockerfile index 0eff084..665cbbc 100644 --- a/back-end/Dockerfile +++ b/back-end/Dockerfile @@ -1,9 +1,8 @@ FROM docker.io/oven/bun:1.1-slim WORKDIR /app/ COPY package.json bun.lockb . -RUN bun install COPY prisma/ prisma/ -RUN bunx prisma generate +RUN bun install && bunx prisma generate COPY api/ api/ COPY index.ts . EXPOSE 3000