Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM maven:3.6.0-jdk-11-slim AS build
COPY src /home/app/src
COPY pom.xml /home/app
RUN mvn -f /home/app/pom.xml clean package
FROM tomcat
COPY --from=build /home/app/target/hello*.war /usr/local/tomcat/webapps/
Empty file added b1
Empty file.
Empty file added f1
Empty file.
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
<name>Hello World Web Application Repository</name>
<description>Simplest possible Java Webapp</description>
<properties>
<sonar.projectKey>lidorg-dev_hello-world-war</sonar.projectKey>
<sonar.organization>lidorg-dev-github</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.login>335713aaf5ef6a31c4df9ae094817cf223285633</sonar.login>
<sonar.organization>arielmaor22</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<build>

Expand Down