diff --git a/Dockerfile.prod b/Dockerfile.prod index 66429817..ed8e1fc3 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -6,7 +6,7 @@ WORKDIR /usr/src/app COPY . . RUN npm install -RUN DATABASE_URL=$DATABASE_URL npx prisma generate +RUN cd packages/db && DATABASE_URL=$DATABASE_URL npx prisma generate && cd ../.. RUN DATABASE_URL=$DATABASE_URL npm run build EXPOSE 3000