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.
This commit is contained in:
Mauricio Siu
2025-11-30 01:05:07 -06:00
parent 2e5564dea7
commit 09053b66fd

View File

@@ -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