Skip to content

Commit

Permalink
Fix for the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pouryafard75 authored and tsantalis committed Feb 14, 2024
1 parent a9eed39 commit 76e4920
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 76e4920

Please sign in to comment.