mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Update Dockerfile
This commit is contained in:
parent
bb2a06b9af
commit
0df75899c6
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ RUN apk add --no-cache bash
|
|||
|
||||
WORKDIR /opt
|
||||
|
||||
COPY target/pet-clinic.jar .
|
||||
COPY target/spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar .
|
||||
|
||||
ENV JAVA_OPTS="-Xms32m -Xmx128m"
|
||||
|
||||
ENTRYPOINT exec java $JAVA_OPTS -jar pet-clinic.jar
|
||||
ENTRYPOINT exec java $JAVA_OPTS -jar spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar
|
||||
|
|
Loading…
Reference in a new issue