drawio/etc/docker/Dockerfile
David Benson [draw.io] 892a905f18 9.0.2 release
2018-08-01 17:46:27 +01:00

11 lines
308 B
Docker

FROM frekele/ant:1.10.3-jdk8 as BUILD
RUN mkdir /usr/build
COPY src /usr/build/src
COPY etc /usr/build/etc
COPY VERSION /usr/build
RUN cd /usr/build/etc/build/ && ant war
FROM tomcat:9.0 as TARGET
COPY --from=BUILD /usr/build/build/draw.war /usr/local/tomcat/webapps/
EXPOSE 8080
CMD ["catalina.sh", "run"]