Skip to content

Commit

Permalink
modified dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Calebasah committed Jul 16, 2024
1 parent b5c8458 commit ace9f13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packit-backend/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ WORKDIR /app
COPY gradlew ./
COPY gradle ./gradle


# Copy the application code
COPY . .

# Build the application with Gradle
RUN gradle clean build
RUN ./gradlew clean build

# Use the lightweight Distroless base image
FROM gcr.io/distroless/java17:nonroot
Expand Down

0 comments on commit ace9f13

Please sign in to comment.