add deploy pipeline

This commit is contained in:
Administrator
2024-08-08 08:43:57 +00:00
parent 7c20fbac45
commit 364da151a7
2 changed files with 61 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM amazoncorretto:21-al2023
VOLUME /tmp
EXPOSE 8083
ARG JAR_FILE=target/hermione-0.0.1-SNAPSHOT.jar
ADD ${JAR_FILE} /hermione.jar
ENTRYPOINT ["java","-jar","/hermione.jar"]