Update Dockerfile

This commit is contained in:
Oleksandr Butenko 2021-06-14 21:44:05 +03:00 committed by GitHub
parent 1cfd2755d3
commit c18729ffad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM openjdk:16-alpine3.13
WORKDIR /app
COPY /var/lib/jenkins/workspace/petpetpet_main/target/spring-petclinic-2.4.5.jar .
COPY target/spring-petclinic-2.4.5.jar .
CMD [ "java" ]
ENTRYPOINT [ "-jar spring-petclinic-2.4.5.jar" ]