mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
chore: update Dockerfile.docs to remove openapi.json copy step
- Removed the step that copies openapi.json to the docs public folder, streamlining the Docker build process. - Updated the documentation generation command to clarify the source of openapi.json.
This commit is contained in:
@@ -11,11 +11,7 @@ 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 (needed for both generation and build)
|
||||
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
|
||||
# Generate OpenAPI documentation from apps/docs/public/openapi.json
|
||||
RUN pnpm --filter=./apps/docs run build:docs
|
||||
|
||||
# Deploy only the dokploy app
|
||||
|
||||
Reference in New Issue
Block a user