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