Skip to content

Commit

Permalink
Revert "Update Dockerfile"
Browse files Browse the repository at this point in the history
This reverts commit 36ad515.
  • Loading branch information
Luke-Sikina authored and Luke Sikina committed Oct 7, 2024
1 parent 52ac023 commit 883bb6c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pic-sure-auth-services/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ WORKDIR /app
# Build the jar
RUN mvn clean install -DskipTests

# Pull in global maven settings
COPY ./.m2/*.xml /root/.m2/

FROM amazoncorretto:21.0.1-alpine3.18

# Copy jar and access token from maven build
Expand All @@ -23,4 +20,4 @@ COPY pic-sure-auth-services/aws_certs/certificate.der /certificate.der
# Import the certificate into the Java trust store
RUN keytool -noprompt -import -alias aws_cert -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit -file /certificate.der

ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /pic-sure-auth-service.jar"]
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /pic-sure-auth-service.jar"]

0 comments on commit 883bb6c

Please sign in to comment.