Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Pavitt committed May 26, 2021
1 parent 8916cc5 commit ee64394
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
FROM gradle:6.8.3-jdk11 as builder

WORKDIR /app

ARG JAVA_OPTS=""

COPY . .

RUN gradle build


COPY build/libs/app-0.3-SNAPSHOT.jar /app.jar

RUN gradle build && cp /app/build/libs/app-0.3-SNAPSHOT.jar /app.jar

FROM adoptopenjdk:11.0.11_9-jre-hotspot

Expand Down

0 comments on commit ee64394

Please sign in to comment.