fix: update server port to 8080 in Dockerfile and application properties
Some checks failed
Release and Build Docker Images / release-and-build (push) Has been cancelled
Some checks failed
Release and Build Docker Images / release-and-build (push) Has been cancelled
This commit is contained in:
@@ -16,6 +16,10 @@ RUN apt-get update && \
|
||||
apt-get install -y curl && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
COPY --from=build /app/target/*.jar app.jar
|
||||
EXPOSE 8082
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s \
|
||||
CMD curl -f http://localhost:8080/api/actuator/health || exit 1
|
||||
@@ -1,4 +1,4 @@
|
||||
server.port=8082
|
||||
server.port=8080
|
||||
server.servlet.context-path=/api
|
||||
spring.application.name=backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user