From 1972852498498f29d7cc3673425d11c683694dff Mon Sep 17 00:00:00 2001 From: SoohoLee Date: Wed, 5 Jul 2023 12:54:39 +0900 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5da8c020..4e5d1b3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]