21 lines
463 B
Docker
21 lines
463 B
Docker
|
FROM alpine:edge
|
||
|
|
||
|
LABEL maintainer="Andreas Peters <support@aventer.biz>"
|
||
|
|
||
|
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"
|
||
|
|