dockefile back

This commit is contained in:
Alexandre Chevalier
2026-02-11 12:43:57 +01:00
parent 844faf7486
commit fd260c4066
5 changed files with 89 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
FROM alpine:3.23
RUN apk --no-cache add curl bash
# java 17 car c'est la version utilise dans maven (voir pom.xml)
RUN apk --no-cache add openjdk17-jdk maven
COPY doodlestudent/api /app
RUN mvn install -Dpackaging=jar
RUN mvn package -DskipTests
RUN ls -l target
# Quarkus semble utilise le port 8080 par defaut
EXPOSE 8080
ENTRYPOINT [ "java", "-jar", "/app/target/tlcdemoApp-1.0.0-SNAPSHOT.jar" ]