Skip to content

Commit

Permalink
Chore: modify dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
MustSave committed Nov 1, 2023
1 parent 23854f1 commit 34e8b2c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
FROM amazoncorretto:17

RUN curl -o /dd-java-agent.jar 'https://dtdg.co/latest-java-tracer'
RUN curl -Lo dd-java-agent.jar https://dtdg.co/latest-java-tracer

ARG jarFile=./build/libs/*.jar

COPY $jarFile app.jar
COPY ./build/libs/*.jar app.jar

ENTRYPOINT ["java", "-jar", "app.jar"]

0 comments on commit 34e8b2c

Please sign in to comment.