Skip to content

Instantly share code, notes, and snippets.

@ruempel
Last active February 25, 2019 15:30
Show Gist options
  • Save ruempel/0ac13ef5aac491001fde61f89690af1f to your computer and use it in GitHub Desktop.
Save ruempel/0ac13ef5aac491001fde61f89690af1f to your computer and use it in GitHub Desktop.
Serve WebVOWL with nginx
# stage 0: download and extract
FROM alpine AS build
ENV VERSION 1.1.4
WORKDIR /webvowl
ADD http://downloads.visualdataweb.de/webvowl_$VERSION.zip webvowl.zip
RUN apk --update add unzip && unzip webvowl.zip && rm webvowl.zip
# stage 1: server static Web content
FROM nginx:alpine
COPY --from=build /webvowl/ /usr/share/nginx/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment