From 61f520b8cbfd4c6b3d48d608b79e33f6aa13e599 Mon Sep 17 00:00:00 2001 From: prasannakumar Date: Tue, 25 Jun 2024 10:29:24 +0530 Subject: [PATCH] added docker stage --- Dockerfile | 2 +- src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba090f8f1..f220f25ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY target/spring-petclinic-3.3.0-SNAPSHOT.jar . # Expose the port your application runs on -EXPOSE 8000 +EXPOSE 80 # Set the entry point to run the JAR file ENTRYPOINT ["java", "-jar", "spring-petclinic-3.3.0-SNAPSHOT.jar"] \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index dda268014..051d2d25c 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -24,4 +24,4 @@ logging.level.org.springframework=INFO # Maximum time static resources should be cached spring.web.resources.cache.cachecontrol.max-age=12h -server.port=8000 \ No newline at end of file +server.port=80 \ No newline at end of file