mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
latest Dockerfile
This commit is contained in:
parent
e790e24585
commit
a60b181eb9
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ RUN ./mvnw clean package -Dmaven.test.skip=true
|
|||
RUN ls -alh /app/target/
|
||||
|
||||
# Copy the JAR file to the app directory
|
||||
COPY /app/target/spring-petclinic-3.3.0-SNAPSHOT.jar app.jar
|
||||
COPY /app/target/spring-petclinic-3.3.0-SNAPSHOT.jar.original app.jar
|
||||
|
||||
# Run the jar file
|
||||
CMD ["java", "-jar", "app.jar"]
|
||||
|
|
Loading…
Reference in a new issue