Dockerfile 244 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
FROM openjdk:8-jre-alpine
MAINTAINER Damien DUPORTAL <dduportal@cloudbees.com>

COPY ./target/demoapp.jar /app/app.jar
COPY hello-world.yml /app/config.yml
EXPOSE 8080

ENTRYPOINT ["java","-jar","/app/app.jar"]
CMD ["server","/app/config.yml"]