website-gemompel/Dockerfile

21 lines
463 B
Docker
Raw Normal View History

2018-07-23 12:31:00 +00:00
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"