mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 08:46:24 +02:00
Salanap/java debug ai (#416)
* stashing changes on my local branch * updated the java demo with debug points and jaeger tracing --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
This commit is contained in:
parent
e77fc47225
commit
2e2680c98c
11 changed files with 135 additions and 1 deletions
|
|
@ -14,5 +14,10 @@ WORKDIR /app
|
|||
# Copy the built jar from the previous stage
|
||||
COPY --from=build /app/target/weather-forecast-service-0.0.1-SNAPSHOT.jar app.jar
|
||||
# Expose the port on which the app runs (default Spring Boot is 8080)
|
||||
|
||||
# Expose the application port and the debug port
|
||||
EXPOSE 8081
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
EXPOSE 5005
|
||||
|
||||
# Start the application with remote debugging enabled
|
||||
ENTRYPOINT ["java", "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005", "-jar", "app.jar"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue