Skip to content

Commit

Permalink
Copy swagger.json to the dist folder (#18646)
Browse files Browse the repository at this point in the history
Signed-off-by: AllForNothing <sshijun@vmware.com>
  • Loading branch information
AllForNothing committed May 9, 2023
1 parent 0e3e70b commit 2fec790
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions make/photon/portal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN cd app-swagger-ui && npm run build
FROM ${harbor_base_namespace}/harbor-portal-base:${harbor_base_image_version}

COPY --from=nodeportal /build_dir/dist /usr/share/nginx/html
COPY --from=nodeportal /build_dir/swagger.json /usr/share/nginx/html
COPY --from=nodeportal /build_dir/app-swagger-ui/dist /usr/share/nginx/html

VOLUME /var/cache/nginx /var/log/nginx /run
Expand Down

0 comments on commit 2fec790

Please sign in to comment.