zkt24/Second-Assigment/Dockerfile

6 lines
239 B
Docker
Raw Permalink Normal View History

2024-04-16 15:36:37 +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"]