turned into a quarkus application

This commit is contained in:
2026-10-26 22:53:35 +01:00
parent c037abbde9
commit 2bb3beef60
7 changed files with 120 additions and 9 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM maven:3.9-eclipse-temurin-25 AS build
WORKDIR /workspace
COPY pom.xml ./
COPY agiledancers-be/pom.xml agiledancers-be/pom.xml
COPY agiledancers-be/src agiledancers-be/src
RUN mvn -B -ntp clean verify
FROM eclipse-temurin:25-jre
WORKDIR /app
COPY --from=build --chown=10001:10001 /workspace/agiledancers-be/target/quarkus-app/ ./
USER 10001:10001
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app/quarkus-run.jar"]