Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ggogel committed Dec 9, 2021
1 parent 7d91971 commit 30fd0b8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM alpine:3.13.6 AS get

ARG version=1.1.7

RUN apk add --no-cache wget

RUN cd /tmp && \
wget -O /tmp/ROOT.war http://vowl.visualdataweb.org/downloads/webvowl_${version}.war

FROM tomcat:9-jre8-openjdk-slim-bullseye

RUN rm -rf /usr/local/tomcat/webapps/*

COPY --from=get /tmp/ROOT.war /usr/local/tomcat/webapps/ROOT.war

CMD ["catalina.sh", "run"]

0 comments on commit 30fd0b8

Please sign in to comment.