]> git.somenet.org - pub/jan/aic18.git/blob - service-twitter/Dockerfile
twitter semi-working
[pub/jan/aic18.git] / service-twitter / Dockerfile
1 FROM openjdk:11-slim
2
3 VOLUME /tmp
4 EXPOSE 8084
5
6 COPY . /app
7
8 WORKDIR /app
9 RUN ["./mvnw", "package", "-Dmaven.test.skip"]
10
11 WORKDIR /app/target
12 ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "service-twitter-0.0.1-SNAPSHOT.jar"]