This is an automated email from the ASF dual-hosted git repository.
wilfreds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-web.git
The following commit(s) were added to refs/heads/master by this push:
new b061d65 [YUNIKORN-2437] Include NOTICE and LICENSE files in Docker
image (#174)
b061d65 is described below
commit b061d651ca5b05434ee8001bdb71fa50ed6748e7
Author: Craig Condit <[email protected]>
AuthorDate: Thu Feb 22 22:18:32 2024 +1100
[YUNIKORN-2437] Include NOTICE and LICENSE files in Docker image (#174)
Closes: #174
Signed-off-by: Wilfred Spiegelenburg <[email protected]>
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 787a5a5..8a41d68 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -29,7 +29,7 @@ RUN yarn build:prod
# Imagestage: use scratch base image
FROM --platform=$TARGETPLATFORM scratch
-COPY --chown=0:0 build/prod/yunikorn-web /
+COPY --chown=0:0 NOTICE LICENSE build/prod/yunikorn-web /
COPY --chown=0:0 --from=buildstage /work/dist/yunikorn-web /html/
EXPOSE 9889
ENV DOCUMENT_ROOT /html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]