Skip to content

Commit

Permalink
Give full access to target deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaMaciaszek committed Nov 14, 2024
1 parent 365c0b1 commit 30fc49d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/spring-cloud-contract-stub-runner-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ ENV PATH "${PATH}:${JAVA_HOME}/bin"
# Spring Cloud Contract
ENV SERVER_PORT 8750
VOLUME /tmp
RUN chmod -R 777 target/maven_dependencies
RUN chmod -R 777 target/libs/stub-runner-boot.jar
COPY --chown=scc:scc target/maven_dependencies /home/scc/.m2/repository/
COPY --chown=scc:scc target/libs/stub-runner-boot.jar stub-runner-boot.jar
RUN echo "Fetching dependencies, please wait..."
Expand Down

0 comments on commit 30fc49d

Please sign in to comment.