Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 661 Bytes
#FROM phusion/baseimage:0.9.17
FROM ubuntu
MAINTAINER Omer Dawelbeit "omer.dawelbeit@gmail.com"
# 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"]