dockerfile, other bs

This commit is contained in:
Daniel
2024-11-14 22:42:38 +02:00
parent 80640ebeab
commit 7678ea3812
9 changed files with 359 additions and 13 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM maven:3.9.9-amazoncorretto-23 AS builder
WORKDIR /app
COPY . /app
RUN mvn clean package -DskipTests
FROM openjdk:23-jdk
WORKDIR /app
COPY --from=builder /app/target/wirestream-1.0.0.jar wirestream-1.0.0.jar
ENTRYPOINT ["java", "-jar", "wirestream-1.0.0.jar"]