Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parametrized Dockerfile and update dev readme.
- Loading branch information
1 parent
5df5afe
commit e1ae31e
Showing
2 changed files
with
6 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM openjdk:11-jre-slim | ||
MAINTAINER Alexei Vinogradov | ||
ARG BROKER_VERSION | ||
WORKDIR /opt/test-data-broker | ||
COPY build/libs/test-data-broker-0.2.0.jar . | ||
COPY build/libs/test-data-broker-$BROKER_VERSION.jar . | ||
EXPOSE 8080 | ||
ENTRYPOINT ["java", "-jar", "test-data-broker-0.2.0.jar"] | ||
ENTRYPOINT ["java", "-jar", "test-data-broker-$BROKER_VERSION.jar"] | ||
|
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