zkt24-sk1/productcatalogue/Dockerfile

6 lines
234 B
Docker
Raw Normal View History

2022-06-14 16:23:05 +00:00
FROM openjdk:8-jre
ADD target/productcatalogue-0.0.1-SNAPSHOT.jar app.jar
ADD product-catalogue.yml app-config.yml
EXPOSE 8020
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","app.jar", "server", "app-config.yml"]