7 lines
352 B
Docker
7 lines
352 B
Docker
|
FROM gradle:jdk17-jammy as build
|
||
|
WORKDIR /home/gradle/ModeratorElection
|
||
|
COPY . /home/gradle/ModeratorElection
|
||
|
RUN ./gradlew -Dvaadin.productionMode=true -Dvaadin.force.production.build=true -Pproduction clean war
|
||
|
|
||
|
FROM tomcat:11.0
|
||
|
COPY --from=build home/gradle/ModeratorElection/build/libs/ModeratorElection-plain.war /usr/local/tomcat/webapps/ROOT.war
|