aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/sniroemulator/src/main/docker/Dockerfile
blob: 05f3a5a2b14f357613f79acf86cbb100b34c45e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM openjdk:8-jre

MAINTAINER Geora Barsky <georab@amdocs.com>

RUN mkdir -p /var/wiremock/lib/ 

ADD sniroemulator.jar /var/wiremock/lib/app.jar

WORKDIR /home/wiremock

COPY docker-entrypoint.sh /
RUN chmod 700 /docker-entrypoint.sh

VOLUME /home/wiremock
EXPOSE 8080 8081 9999

ENTRYPOINT ["/docker-entrypoint.sh"]

CMD ["java", "-jar","/var/wiremock/lib/app.jar"]