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