Skip to content

Commit 09053b6

Browse files
author
Mauricio Siu
committed
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.
1 parent 2e5564d commit 09053b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile.docs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ WORKDIR /usr/src/app
1111
# Install dependencies
1212
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/docs --frozen-lockfile
1313

14+
# Generate OpenAPI documentation
15+
RUN pnpm --filter=./apps/docs run build:docs
16+
1417
# Deploy only the dokploy app
1518

1619
ENV NODE_ENV=production

0 commit comments

Comments
 (0)