FROM alpine:3.7 RUN apk add --no-cache bind \ && mkdir -p /var/bind/infoclinica \ && chown -R named:named /var/bind/infoclinica \ && rm -rf /var/cache/apk/* EXPOSE 53/tcp 53/udp #VOLUME ["/var/lib/bind"] COPY workdir/* /var/bind/ COPY example/config/named.conf /etc/bind/ COPY infoclinica.lan.zone \ 201.168.192.in-addr.arpa.zone \ 204.168.192.in-addr.arpa.zone \ 205.168.192.in-addr.arpa.zone \ /var/bind/infoclinica/ CMD ["/usr/sbin/named", "-f", "-g"]