mumble-server-docker/Dockerfile

20 lines
368 B
Docker
Raw Normal View History

2022-09-10 22:48:58 +00:00
FROM alpine:latest
EXPOSE 64738 64738/udp
ENV CONFIG_PATH=/data/config.ini
RUN adduser -DHs /sbin/nologin mumble
RUN apk update && apk add murmur
RUN mkdir -pv /opt/mumble
COPY files/run.sh /opt/mumble/run.sh
RUN chmod +x /opt/mumble/run.sh
RUN mkdir -pv /data
RUN chown mumble /data
COPY files/config.ini /data/config.ini
USER mumble
CMD ["/opt/mumble/run.sh"]