sample-pack-java8/Dockerfile

6 lines
163 B
Docker

FROM adoptopenjdk/openjdk8
RUN mkdir /app
WORKDIR /tmp/build
COPY ./target/web-svc-demo-0.0.1-SNAPSHOT.jar ./
ENTRYPOINT java -jar web-svc-demo-0.0.1-SNAPSHOT.jar