fix: use npx -p @nestjs/cli for nest build
This commit is contained in:
@@ -17,7 +17,7 @@ COPY src/ ./src/
|
||||
RUN cd packages/shared && npx tsc --outDir dist --declaration
|
||||
RUN cd packages/admin-db && DATABASE_ADMIN_URL="postgresql://placeholder" npx prisma generate
|
||||
RUN cd packages/db && DATABASE_URL="postgresql://placeholder" npx prisma generate
|
||||
RUN npx nest build
|
||||
RUN npx -p @nestjs/cli nest build
|
||||
|
||||
FROM node:20-alpine AS runner
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user