2019-05-22 13:25:54 +02:00
|
|
|
|
|
|
|
FROM openjdk:8-stretch as build
|
|
|
|
|
|
|
|
COPY . /app
|
|
|
|
WORKDIR /app
|
|
|
|
RUN ./gradlew bootJar
|
|
|
|
|
2019-06-09 19:46:53 +02:00
|
|
|
FROM openjdk:8-jre-stretch
|
2019-05-22 13:25:54 +02:00
|
|
|
|
2019-05-22 15:59:50 +02:00
|
|
|
COPY --from=build /app/build/libs/ottobot.jar /otto.jar
|
2019-05-22 13:25:54 +02:00
|
|
|
|
|
|
|
CMD java -jar /otto.jar
|