Create Dockerfile

This commit is contained in:
MihailInternul 2024-02-19 14:29:25 +02:00 committed by GitHub
parent f03c977982
commit 26ca91c843
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM openjdk
WORKDIR /app
COPY target/spring-petclinic-*.jar /app/spring-petclinic.jar
EXPOSE 8081
CMD ["java", "-jar", "spring-petclinic.jar"]