1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-12-22 08:48:54 +00:00

Update docker file to use war builded by travis

This commit is contained in:
Ducatel David 2017-04-25 14:53:23 +02:00 committed by GitHub
parent dcc1b86298
commit 2278fb7309

View File

@ -1,7 +1,4 @@
FROM maven:3-jdk-8
FROM jetty
MAINTAINER D.Ducatel
RUN apt-get update && apt-get install -y --no-install-recommends graphviz fonts-wqy-zenhei && rm -rf /var/lib/apt/lists/*
ADD . /app
WORKDIR /app
EXPOSE 8080
CMD ["mvn", "jetty:run"]
ADD target/plantuml.war /var/lib/jetty/webapps/ROOT.war