forked from meissa/ModeratorElection
Run Stage to docker image
This commit is contained in:
parent
a0691894ac
commit
25f7289346
1 changed files with 6 additions and 0 deletions
|
@ -5,3 +5,9 @@ ADD resources /tmp
|
|||
RUN /tmp/install.sh
|
||||
ENV LANG=en_US.UTF-8 \
|
||||
JAVA_HOME=/usr/lib/jvm/graalvm
|
||||
|
||||
# Run stage
|
||||
WORKDIR /usr/local/src/ModeratorElection/
|
||||
EXPOSE 80 8080
|
||||
#ENV MEMBERNAMES
|
||||
CMD ["java -jar ModeratorElection.jar", "curl -X GET http://localhost:8080"]
|
||||
|
|
Loading…
Reference in a new issue