]> git.somenet.org - pub/jan/aic18.git/blob - service-twitter/Dockerfile
Add maintainer to service-twitter Dockerfile
[pub/jan/aic18.git] / service-twitter / Dockerfile
1 FROM openjdk:11-slim
2 MAINTAINER Michael Winsauer <e1429715@student.tuwien.ac.at>
3
4 VOLUME /tmp
5 EXPOSE 8084
6
7 COPY . /app
8
9 WORKDIR /app
10 RUN ["./mvnw", "package", "-Dmaven.test.skip"]
11
12 WORKDIR /app/target
13 ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "service-twitter-0.0.1-SNAPSHOT.jar"]