forked from omerio/graphviz-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (20 loc) · 661 Bytes
/
Copy pathDockerfile
File metadata and controls
28 lines (20 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#FROM phusion/baseimage:0.9.17
FROM ubuntu
MAINTAINER Omer Dawelbeit "[email protected]"
# Update aptitude with new repo
# Install other software
RUN apt-get -y update && apt-get install -y \
graphviz \
default-jdk \
maven \
git
# Clone the graphviz-server github repo
RUN git clone https://github.com/omerio/graphviz-server.git /opt/graphviz-server
# Expose port 8080 to the host
#EXPOSE 8080
# Set the current work directory
WORKDIR /opt/graphviz-server
# If you want to run maven to package the jar with dependencies yourself
#RUN mvn package
# Run graphviz-server
ENTRYPOINT ["java", "-jar", "/opt/graphviz-server/dist/DotGraphics.jar"]