diff --git a/Dockerfile b/Dockerfile index 1e7f474..b618735 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN corepack prepare yarn@stable --activate WORKDIR /app COPY --from=dependencies /app/node_modules ./node_modules COPY . ./ +RUN yarn prisma-gen RUN yarn build # --- Stage 3: Runner --- @@ -23,4 +24,6 @@ WORKDIR /app COPY --from=builder /app/build /app/build COPY --from=builder /app/.yarn ./.yarn +EXPOSE 3000 + CMD ["yarn", "start"] # Replace with your start command