Skip to content

Commit a323b63

Browse files
created docker file
1 parent bf6b090 commit a323b63

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#Define your base image
2+
FROM eclipse-temurin:17-jdk-focal
3+
4+
#Maintainer of this image
5+
LABEL maintainer="Palak Bhawsar"
6+
7+
#Copying Jar file from target folder
8+
COPY target/web-services.jar web-services.jar
9+
10+
#Expose app to outer world on this port
11+
EXPOSE 8081
12+
13+
#Run executable with this command
14+
ENTRYPOINT ["java", "-jar", "web-services.jar"]

0 commit comments

Comments
 (0)