Create Dockerfile

This commit is contained in:
Natalia Villegas 2018-11-12 17:09:08 -03:00 committed by GitHub
parent 3b36b80741
commit e9dda4df73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
Dockerfile Normal file
View 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