mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
chore: update OpenAPI documentation paths and add openapi.json file
- Copied openapi.json to the docs public folder for easier access. - Updated paths in generated documentation files to reference the new location of openapi.json. - Ensured all references to openapi.json are consistent across documentation files.
This commit is contained in:
@@ -11,6 +11,10 @@ WORKDIR /usr/src/app
|
||||
# Install dependencies
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/docs --frozen-lockfile
|
||||
|
||||
# Copy openapi.json to docs public folder
|
||||
RUN mkdir -p /usr/src/app/apps/docs/public && \
|
||||
cp /usr/src/app/public/openapi.json /usr/src/app/apps/docs/public/openapi.json
|
||||
|
||||
# Generate OpenAPI documentation
|
||||
RUN pnpm --filter=./apps/docs run build:docs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user