Skip to content

Commit 3483f0e

Browse files
author
Mauricio Siu
committed
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.
1 parent b594e5f commit 3483f0e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Dockerfile.docs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ WORKDIR /usr/src/app
1111
# Install dependencies
1212
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/docs --frozen-lockfile
1313

14-
# Copy openapi.json to docs public folder (needed for both generation and build)
15-
RUN mkdir -p /usr/src/app/apps/docs/public && \
16-
cp /usr/src/app/public/openapi.json /usr/src/app/apps/docs/public/openapi.json
17-
18-
# Generate OpenAPI documentation
14+
# Generate OpenAPI documentation from apps/docs/public/openapi.json
1915
RUN pnpm --filter=./apps/docs run build:docs
2016

2117
# Deploy only the dokploy app

0 commit comments

Comments
 (0)