Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
seung-jun2 committed Jul 1, 2024
2 parents c2d3d98 + 213b900 commit cfb7943
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ WORKDIR /app
RUN chmod +x ./gradlew
RUN ./gradlew clean build --no-daemon --info > build.log 2>&1 || (cat build.log && exit 1)

HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
CMD curl -f http://localhost:8081/actuator/health || exit 1

# 애플리케이션 실행
CMD ["java", "-jar", "build/libs/healthyLife1.0.jar"]
CMD ["java", "-jar", "build/libs/healthyLife-0.0.1-SNAPSHOT.jar"]

0 comments on commit cfb7943

Please sign in to comment.