Skip to content

Commit b47971b

Browse files
committed
Include ttf-freefont for PNG support
.. and calculating character width
1 parent 2d8c7df commit b47971b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM maven:3.3-jdk-8-alpine
22
MAINTAINER Stian Soiland-Reyes <[email protected]>
33

4-
RUN apk add --update graphviz && rm -rf /var/cache/apk/*
4+
RUN apk add --update graphviz ttf-freefont && rm -rf /var/cache/apk/*
55

66
RUN mkdir /usr/share/maven/ref/repository
77

@@ -24,4 +24,6 @@ WORKDIR /tmp
2424
EXPOSE 8080
2525

2626
# Expects mongodb on port 27017
27-
CMD ["/usr/bin/java", "-Dspring.data.mongodb.host=mongo", "-jar", "/usr/lib/cwlvisualizer.jar"]
27+
ENV SPRING_DATA_MONGODB_HOST=mongo
28+
ENV SPRING_DATA_MONGODB_PORT=27017
29+
CMD ["/usr/bin/java", "-jar", "/usr/lib/cwlvisualizer.jar"]

0 commit comments

Comments
 (0)