mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Create Dockerfile
This commit is contained in:
parent
3b36b80741
commit
e9dda4df73
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM openjdk:8u171-jre-alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache bash
|
||||||
|
|
||||||
|
WORKDIR /opt
|
||||||
|
|
||||||
|
COPY target/ejemplo.jar .
|
||||||
|
|
||||||
|
ENV JAVA_OPTS="-Xms32m -Xmx128m"
|
||||||
|
|
||||||
|
ENTRYPOINT exec java $JAVA_OPTS -jar ejemplo.jar
|
Loading…
Reference in a new issue