Completed the api through the use of DTO's

This commit is contained in:
2026-01-03 23:45:08 +00:00
parent 1358b8981c
commit ee681ad1f3
17 changed files with 272 additions and 51 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# -------- Build stage --------
FROM maven:3.9.6-eclipse-temurin-21 AS build
WORKDIR /app
COPY pom.xml .
RUN mvn -B dependency:go-offline
COPY src ./src
RUN mvn -B clean package -DskipTests
# -------- Runtime stage --------
FROM eclipse-temurin:21-jre
WORKDIR /app
COPY --from=build /app/target/*.jar app.jar
EXPOSE 9010
ENTRYPOINT ["java", "-jar", "app.jar"]