-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (16 loc) · 708 Bytes
/
Dockerfile
File metadata and controls
23 lines (16 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM openjdk:8u191-jre-alpine3.9
#For health check script
#RUN apk add curl jq
#Work Space
WORKDIR /usr/share/automation2020
#Adding JARS files from target folder of host
#To the docker image
ADD target/automation-testing-docker.jar automation-testing-docker.jar
ADD target/automation-testing-docker-tests.jar automation-testing-docker-tests.jar
ADD target/libs libs
#Adding Suite files (testng.xml files)
ADD flight-booking.xml flight-booking.xml
#Adding health check up script
ADD healthcheck.sh healthcheck.sh
ENTRYPOINT java -cp automation-testing-docker.jar:automation-testing-docker-tests.jar:libs/* org.testng.TestNG $MODULE
#ENTRYPOINT sh healthcheck.sh