aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.dockerignore4
-rw-r--r--Dockerfile3
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
diff --git a/Dockerfile b/Dockerfile
index a563a99..963540b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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