forked from meissa/ModeratorElection
13 lines
302 B
Docker
13 lines
302 B
Docker
#Build Stage
|
|
FROM ubuntu:noble-20240605
|
|
|
|
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"]
|