Skip to content

Commit

Permalink
using build artifact from build within pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Staehler, Michael committed Dec 16, 2024
1 parent 94bb1c6 commit 46a370e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile-single
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ ENV JAVA_OPTS="-Duser.timezone=Europe/Berlin"

EXPOSE 8080

COPY --from=builder /build/target/fredbet.jar fredbet.jar
COPY target/fredbet.jar fredbet.jar

CMD exec java $JAVA_OPTS -jar fredbet.jar

0 comments on commit 46a370e

Please sign in to comment.