Merge branch 'main' of github.com:SCS-ASSE-FS21-Tutors/tapas into main

This commit is contained in:
Andrei Ciortea
2021-11-16 22:41:45 +01:00
4 changed files with 99 additions and 0 deletions

View 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/tapas-auction-house-0.0.1-SNAPSHOT.jar ./tapas-auction-house-0.0.1-SNAPSHOT.jar
CMD java -jar tapas-auction-house-0.0.1-SNAPSHOT.jar