12 lines
189 B
Docker
12 lines
189 B
Docker
|
|
FROM openjdk:8-stretch as build
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN ./gradlew bootJar
|
|
|
|
FROM openjdk:8-jre-alpine
|
|
|
|
COPY --from=build /app/build/libs/ottobot.jar /otto.jar
|
|
|
|
CMD java -jar /otto.jar |