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"]