diff --git a/services/cbioportal/Dockerfile b/services/cbioportal/Dockerfile index 59b383f..6427f40 100644 --- a/services/cbioportal/Dockerfile +++ b/services/cbioportal/Dockerfile @@ -31,8 +31,8 @@ RUN sed -i 's/safeStringTest( mutation.getMutationStatus(), "LOH" )/false/' core # Show all CNVs RUN sed -i 's/(-2, 2)/(-2, -1, 1, 2)/' /cbioportal/src/main/java/org/cbioportal/web/parameter/DiscreteCopyNumberEventType.java -RUN sed -i 's/\!alterationTypes.contains(-1) && \!alterationTypes.contains(0) && \!alterationTypes.contains(1)/!alterationTypes.contains(0)/' src/main/java/org/cbioportal/service/impl/DiscreteCopyNumberServiceImpl.java -RUN sed -i 's/\!alterationTypes.contains(CNA.HETLOSS) && \!alterationTypes.contains(CNA.DIPLOID) && \!alterationTypes.contains(CNA.GAIN)/!alterationTypes.contains(CNA.DIPLOID)/' src/main/java/org/cbioportal/service/impl/DiscreteCopyNumberServiceImpl.java +RUN sed -i 's/\!alterationTypes.contains(-1) && \!alterationTypes.contains(0) && \!alterationTypes.contains(1)/!alterationTypes.contains(0)/' /cbioportal/src/main/java/org/cbioportal/service/impl/DiscreteCopyNumberServiceImpl.java +RUN sed -i 's/\!alterationTypes.contains(CNA.HETLOSS) && \!alterationTypes.contains(CNA.DIPLOID) && \!alterationTypes.contains(CNA.GAIN)/!alterationTypes.contains(CNA.DIPLOID)/' /cbioportal/src/main/java/org/cbioportal/service/impl/DiscreteCopyNumberServiceImpl.java RUN mvn -DskipTests -Dfrontend.version=0.3.0 -Dfrontend.groupId=com.github.cbioportal clean install package RUN mkdir -p target/dependency && (cd target/dependency; jar -xf ../*-exec.jar)