Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
angelSuho authored Jul 5, 2023
1 parent 6f0cfa8 commit 1972852
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@ RUN sed -i 's/profiler\.collector\.ip=127\.0\.0\.1/profiler.collector.ip=101.101
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar", "-javaagent:/usr/local/pinpoint-agent-2.5.2/pinpoint-bootstrap-2.5.2.jar", "-Dpinpoint.agentId=${PINPOINT_AGENT_ID}","-Dpinpoint.applicationName=${PINPOINT_APP_NAME}","-Dpinpoint.config=/usr/local/pinpoint-agent-2.5.2/profiles/release/pinpoint.config", "-Dspring.profiles.active=prod","/app.jar"]
ENTRYPOINT ["java","-jar", \
"-javaagent:/usr/local/pinpoint-agent-2.5.2/pinpoint-bootstrap-2.5.2.jar", \
"-Dpinpoint.agentId=${PINPOINT_AGENT_ID}", \
"-Dpinpoint.applicationName=${PINPOINT_APP_NAME}", \
"-Dpinpoint.config=/usr/local/pinpoint-agent-2.5.2/profiles/release/pinpoint.config", \
"-Dspring.profiles.active=prod", \
"/app.jar"]

0 comments on commit 1972852

Please sign in to comment.