Created
July 27, 2024 11:31
-
-
Save shashanthk/3d7dd535bf77c5ab1da18ebf72df9ddb to your computer and use it in GitHub Desktop.
Revisions
-
shashanthk created this gist
Jul 27, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ ## JDK FROM eclipse-temurin:21-alpine ## container direcotry WORKDIR /app ## copy build file from host to container COPY target/jar-file-name.jar /app ## expose service port EXPOSE 8080 ## start service CMD ["java", "-jar", "jar-file-name.jar"]