From 9140dbc838b769f341127e1e4f31f7629ffcf9cb Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 29 Apr 2024 06:42:54 +0100 Subject: [PATCH] pls work --- .gitea/workflows/ci.yml | 2 ++ Dockerfile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c72eaee..efd6232 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -21,6 +21,8 @@ jobs: # Checkout the repo - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 # Deploy to Dokku - name: Push to dokku diff --git a/Dockerfile b/Dockerfile index 1a0f430..a26c901 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,9 @@ RUN mvn package -q -Dmaven.test.skip -DskipTests -T2C # Stage 2: Create the final lightweight image FROM eclipse-temurin:17.0.11_9-jre-focal +# Install Git +RUN apt-get install -y git + # Set the app to be in production mode ENV ENVIRONMENT=production