diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..df3b762 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM alpine:edge + +LABEL maintainer="Andreas Peters " + +RUN echo http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \ + apk add --no-cache git nodejs npm tini websockify + +COPY ./ /opt/mumble-web/ + +WORKDIR /opt/mumble-web + + +RUN npm install && npm run build + +EXPOSE 80 +ENV MUMBLE_SERVER=mumble.aventer.biz:64738 + +ENTRYPOINT ["/sbin/tini", "--"] +CMD websockify --ssl-target --web /opt/mumble-web/dist 80 "$MUMBLE_SERVER" +