Update Dockerfile

This commit is contained in:
Natalia Villegas 2018-11-12 17:22:58 -03:00 committed by GitHub
parent bb2a06b9af
commit 0df75899c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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