add dockerfile
This commit is contained in:
parent
434504435c
commit
e9cebd38ad
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
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"
|
||||||
|
|
Loading…
Reference in a new issue