rename: artifactId mic-after-work-server-impl-quarkus-main → afterwork-server-impl-quarkus
Some checks failed
CI/CD Lions Pipeline / Build + Push + Deploy (push) Failing after 9s

- pom.xml artifactId
- application.properties + application-prod.properties : DB_NAME default afterwork
- src/main/docker/Dockerfile.* : refs images
- Dockerfile racine ajouté (lionsctl pipeline : ubi8/openjdk-21:1.21, UID 1001)
- Cohérence avec renaming Gitea repo lionsdev/afterwork-server-impl-quarkus
This commit is contained in:
2026-04-24 18:51:19 +00:00
parent 2dd20ee068
commit 770176092d
6 changed files with 32 additions and 11 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# Dockerfile for afterwork-server-impl-quarkus
# Used by lionsctl pipeline. Expects `mvn clean package -Pprod` to have produced target/quarkus-app/ (fast-jar).
FROM registry.access.redhat.com/ubi8/openjdk-21:1.21
ENV LANGUAGE='en_US:en'
COPY --chown=1001:1001 target/quarkus-app/lib/ /deployments/lib/
COPY --chown=1001:1001 target/quarkus-app/*.jar /deployments/
COPY --chown=1001:1001 target/quarkus-app/app/ /deployments/app/
COPY --chown=1001:1001 target/quarkus-app/quarkus/ /deployments/quarkus/
USER 1001
EXPOSE 8080
ENV JAVA_OPTS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
HEALTHCHECK --interval=30s --timeout=3s --start-period=30s --retries=3 \
CMD curl -f http://localhost:8080/q/health/live || exit 1
ENTRYPOINT [ "java", "-jar", "/deployments/quarkus-run.jar" ]