diff --git a/dockerfile b/dockerfile index 99fd9c5..9ecda3c 100644 --- a/dockerfile +++ b/dockerfile @@ -12,6 +12,10 @@ RUN pnpm install --frozen-lockfile # Copy source COPY . . +# Required by prisma generate during image build +ARG DATABASE_URL="postgres://tvone:tvone_password@db:5432/tvone" +ENV DATABASE_URL=$DATABASE_URL + # Build NestJS RUN pnpm build