Merge remote-tracking branch 'upstream/main' into dev
This commit is contained in:
13
app/Dockerfile
Normal file
13
app/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
# Dockerfile/Docker-Compose file based on an initial version authored by Alexander Lontke (ASSE, Fall Semester 2021)
|
||||
|
||||
FROM maven as build
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN mvn -f app/pom.xml --batch-mode --update-snapshots verify
|
||||
|
||||
FROM openjdk
|
||||
|
||||
COPY --from=build /app/target/app-0.1.0.jar ./app-0.1.0.jar
|
||||
|
||||
CMD java -jar app-0.1.0.jar
|
Reference in New Issue
Block a user