Skip to content

Commit

Permalink
Merge pull request #15 from ajm01/dont-copy-target
Browse files Browse the repository at this point in the history
Dont copy target
  • Loading branch information
scottkurz authored Feb 12, 2020
2 parents b32d003 + 40ee1e4 commit 9ecdad2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions incubator/java-openliberty/image/project/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ COPY --chown=1001:0 --from=compile /config/ /config/


# 2d) Changes to the application binary
COPY --chown=1001:0 --from=compile /project/user-app/target/* /tmp/wars/
RUN if [ -e /tmp/wars/*.war ]; then cp /tmp/wars/*.war /config/apps; fi && if [ -e /tmp/wars/*.ear ]; then cp /tmp/wars/*.ear /config/apps; fi && chmod -R 777 /tmp/wars && rm -rf /tmp/wars
COPY --chown=1001:0 --from=compile /project/user-app/target/*.[ew]ar /config/apps

RUN configure.sh

0 comments on commit 9ecdad2

Please sign in to comment.