Skip to content

Commit

Permalink
Version fix (#114)
Browse files Browse the repository at this point in the history
add .git dir to builder image
  • Loading branch information
Felioh authored Nov 13, 2024
1 parent fa5a317 commit 4dbb32e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY build.gradle .
COPY settings.gradle .
COPY gradlew .
COPY gradle ./gradle
COPY .git ./git
COPY .git .git

COPY src ./src

Expand All @@ -18,7 +18,7 @@ FROM openjdk:11-jdk-slim

ENV TZ=Europe/Berlin

COPY --from=builder /app/build/libs/trintel-0.0.1-SNAPSHOT.jar /app/trintel.jar
COPY --from=builder /app/build/libs/*.jar /app/trintel.jar

COPY --from=builder /app/build/resources/main/static/img/placeholder.jpg /app/build/resources/main/static/img/placeholder.jpg

Expand Down

0 comments on commit 4dbb32e

Please sign in to comment.