diff options
-rw-r--r-- | .dockerignore | 4 | ||||
-rw-r--r-- | Dockerfile | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index f7f5eb5..0000000 --- a/.dockerignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything -* -# but the build jar -!/app/build/libs @@ -1,8 +1,7 @@ FROM eclipse-temurin:17 as builder COPY . ./history WORKDIR /history - -RUN ./gradlew build +RUN ./gradlew assemble FROM eclipse-temurin:17-jre-alpine ARG JAR_FILE=/history/app/build/libs/app.jar |