chore: remove openapi.json copy step from Dockerfile.docs

- Eliminated the step that copied openapi.json to the docs public folder to streamline the Docker build process.
- This change aligns with recent documentation cleanup efforts and avoids redundancy in file management.
This commit is contained in:
Mauricio Siu
2025-11-30 01:15:19 -06:00
parent fe3b4b2068
commit 3da6c92d01

View File

@@ -11,10 +11,6 @@ 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