From 3483f0ef27b2faa8d4447fb43fa9c5d3c225684f Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Sun, 30 Nov 2025 01:19:45 -0600 Subject: [PATCH] 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. --- Dockerfile.docs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile.docs b/Dockerfile.docs index dd25253..60c602f 100644 --- a/Dockerfile.docs +++ b/Dockerfile.docs @@ -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