mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 19:56:09 +01:00
Copy swagger.json to the dist folder (#18646)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
0e3e70bc7a
commit
2fec790148
@ -24,6 +24,7 @@ RUN cd app-swagger-ui && npm run build
|
|||||||
FROM ${harbor_base_namespace}/harbor-portal-base:${harbor_base_image_version}
|
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/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
|
COPY --from=nodeportal /build_dir/app-swagger-ui/dist /usr/share/nginx/html
|
||||||
|
|
||||||
VOLUME /var/cache/nginx /var/log/nginx /run
|
VOLUME /var/cache/nginx /var/log/nginx /run
|
||||||
|
Loading…
Reference in New Issue
Block a user