-
Notifications
You must be signed in to change notification settings - Fork 102
/
Dockerfile
14 lines (10 loc) · 969 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#Define your base image
FROM eclipse-temurin:17-jdk-focal
#Maintainer of this image
LABEL maintainer="Palak Bhawsar"
#Copying Jar file from target folder
COPY target/web-services.jar web-services.jar
#Expose app to outer world on this port
EXPOSE 8081
#Run executable with this command
ENTRYPOINT ["java", "-jar", "web-services.jar"]