Skip to content

Commit

Permalink
[YUNIKORN-2437] Include NOTICE and LICENSE files in Docker image (#174)
Browse files Browse the repository at this point in the history
Closes: #174

Signed-off-by: Wilfred Spiegelenburg <[email protected]>
  • Loading branch information
craigcondit authored and wilfred-s committed Feb 22, 2024
1 parent a59a1f5 commit b061d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b061d65

Please sign in to comment.