From 09053b66fdc77d7b7fdc885acdd2d2c72d669ea0 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Sun, 30 Nov 2025 01:05:07 -0600 Subject: [PATCH] chore: generate OpenAPI documentation during build process - Added a step in the Dockerfile to generate OpenAPI documentation by running the build:docs script for the docs application. --- Dockerfile.docs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.docs b/Dockerfile.docs index e7721d8..647779d 100644 --- a/Dockerfile.docs +++ b/Dockerfile.docs @@ -11,6 +11,9 @@ WORKDIR /usr/src/app # Install dependencies RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/docs --frozen-lockfile +# Generate OpenAPI documentation +RUN pnpm --filter=./apps/docs run build:docs + # Deploy only the dokploy app ENV NODE_ENV=production