diff --git a/Dockerfile b/Dockerfile index 2300e70..8c43d49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,20 +1,20 @@ # Build Stage FROM openjdk:17-jdk-slim AS builder -WORKDIR /app - # Use Git to clone the repository RUN apt-get update && \ apt-get upgrade -y && \ apt-get install -y git +WORKDIR /app + # Clone the Keycloak repository ARG USERNAME ARG PAT RUN git clone https://ArmandMeppa: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@github.com/adorsys/kc-oid4vci-deployment.git # Move the cloned repository to the working directory -COPY kc-oid4vci-deployment/* /app/ +# RUN mv kc-oid4vci-deployment/* /app/ RUN ./mvnw clean install -DskipTests