aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-07-26 07:10:51 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-07-26 07:10:51 +0000
commit56552b36e41b39325ea9f7df17af6a1c78cb790d (patch)
treeeda3ae7ff76b5e493f7378453c40b548f0ddc512
parentf3e143422364cbdc7f4f6d68fc628d95773c454d (diff)
Fix the docker-verify step for history
Issue-ID: PORTALNG-28 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I04dc4df5829e718e2211a1ed9df6fe3c04caea54
-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