-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from dartartem/master
#9: Eliminate wildcard Dockerfile needs to COPY build/libs/eventuate-…
- Loading branch information
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
FROM openjdk:8u171-jre-alpine | ||
RUN apk --no-cache add curl | ||
HEALTHCHECK --start-period=30s --interval=5s CMD curl -f http://localhost:8080/actuator/health || exit 1 | ||
CMD java ${JAVA_OPTS} -jar eventuate-tram-messaging-proxy-service-*.jar | ||
COPY build/libs/eventuate-tram-messaging-proxy-service-*.jar . | ||
CMD java ${JAVA_OPTS} -jar proxy.jar | ||
ARG proxyServiceVersion | ||
COPY build/libs/eventuate-tram-messaging-proxy-service-${proxyServiceVersion}.jar ./proxy.jar |