Run Stage to docker image

This commit is contained in:
Mirco 2024-06-20 15:42:53 +02:00
parent a0691894ac
commit 25f7289346

View file

@ -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"]