From 76e49201d03754a709de8676e58e6c9575b3c07c Mon Sep 17 00:00:00 2001 From: Pouryafard75 Date: Tue, 13 Feb 2024 23:19:17 -0500 Subject: [PATCH] Fix for the dockerfile --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e25db1f63..96d7961da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,13 @@ ENV TZ=GMT COPY . /opt/refactoringminer/ -RUN /opt/refactoringminer/gradlew -x test -p /opt/refactoringminer build 2>/dev/null -RUN unzip /opt/refactoringminer/build/distributions/*.zip -d /opt/refactoringminer/build/distributions -RUN ln -s /opt/refactoringminer/build/distributions/RefactoringMiner-*/bin/RefactoringMiner /usr/bin/refactoringminer +RUN /opt/refactoringminer/gradlew -x test -p /opt/refactoringminer build -PbuildVersion=DockerBuild 2>/dev/null +RUN unzip /opt/refactoringminer/build/distributions/RefactoringMiner-DockerBuild.zip -d /opt/refactoringminer/build/distributions +RUN ln -s /opt/refactoringminer/build/distributions/RefactoringMiner-DockerBuild/bin/RefactoringMiner /usr/bin/refactoringminer ENV LANG C.UTF-8 EXPOSE 6789 + +RUN mkdir -p /diff/left /diff/right +WORKDIR /diff + #ENTRYPOINT ["refactoringminer"]