sip-recorder/Dockerfile

17 lines
429 B
Docker
Raw Normal View History

2019-01-01 22:34:16 +00:00
FROM alpine:3.8
RUN apk -U add asterisk
COPY config/asterisk.conf /etc/asterisk/
COPY config/cdr_custom.conf /etc/asterisk/
COPY config/cdr.conf /etc/asterisk/
COPY config/extensions.conf /etc/asterisk/
COPY config/logger.conf /etc/asterisk/
COPY config/modules.conf /etc/asterisk/
COPY config/rtp.conf /etc/asterisk/
COPY start.sh /usr/local/bin/start.sh
VOLUME /recordings
ENTRYPOINT ["/bin/sh", "/usr/local/bin/start.sh"]