added docker stage

This commit is contained in:
prasannakumar 2024-06-25 10:42:15 +05:30
parent 61f520b8cb
commit eb8dc550d7

View file

@ -5,7 +5,7 @@ FROM openjdk:17-jdk-alpine
WORKDIR /app
# Copy the JAR file from the host machine to the container
COPY target/spring-petclinic-3.3.0-SNAPSHOT.jar .
COPY target/spring-petclinic-3.3.0-SNAPSHOT.jar spring-petclinic-3.3.0-SNAPSHOT.jar
# Expose the port your application runs on