java-tutorials/micronaut/Dockerfile

4 lines
157 B
Docker

FROM java:openjdk-8u111-alpine
RUN apk --no-cache add curl
COPY build/libs/*-all.jar hello-world-server.jar
CMD java ${JAVA_OPTS} -jar hello-world-server.jar