0 points

Dockerfile for Java application


dashboard

Sun Nov 29 2020 18:21:12 GMT+0000 (UTC)

Posted by @ankity09 #aws,ckad

FROM openjdk:11-jre-slim
WORKDIR /app
COPY target/java-hello-world-0.0.1.jar java-hello-world.jar
ENTRYPOINT ["java", "-jar", "/app/java-hello-world.jar"]
EXPOSE 8080
content_copy Copy

creates a image for Hello World Java application