We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4002f72 commit 05ea4d7Copy full SHA for 05ea4d7
Dockerfile
@@ -11,7 +11,8 @@ ADD pom.xml LICENSE.md NOTICE.md README.md /usr/src/app/
11
12
# add src/ (which often change)
13
ADD src /usr/src/app/src
14
-RUN mvn clean package && cp target/cwlvisualiser-*.jar /usr/lib/cwlvisualizer.jar && rm -rf target
+# 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
16
17
# NOTE: ~/.m2/repository is a VOLUME and so will be deleted anyway
18
# This also means that every docker build downloads all of it..
0 commit comments