mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user