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"]