Skip to content

Commit 62f759d

Browse files
author
Mark Robinson
committed
Merge remote-tracking branch 'origin/master'
2 parents 4d66c2f + 05ea4d7 commit 62f759d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ ADD pom.xml LICENSE.md NOTICE.md README.md /usr/src/app/
1111

1212
# add src/ (which often change)
1313
ADD src /usr/src/app/src
14-
RUN mvn clean package && cp target/cwlvisualiser-*.jar /usr/lib/cwlvisualizer.jar && rm -rf target
14+
# Skip tests while building as that requires a local mongodb
15+
RUN mvn clean package -DskipTests && cp target/cwlvisualiser-*.jar /usr/lib/cwlvisualizer.jar && rm -rf target
1516

1617
# NOTE: ~/.m2/repository is a VOLUME and so will be deleted anyway
1718
# This also means that every docker build downloads all of it..

0 commit comments

Comments
 (0)