diff --git a/Dockerfile b/Dockerfile index 573738d..9b1ba2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,12 @@ RUN set -xe \ && apk add --no-cache bind \ && chmod +x /opt/run.sh -RUN mkdir -p /etc/bind && chown root:bind /etc/bind/ && chmod 755 /etc/bind -RUN mkdir -p /var/cache/bind && chown bind:bind /var/cache/bind && chmod 755 /var/cache/bind -RUN mkdir -p /var/lib/bind && chown bind:bind /var/lib/bind && chmod 755 /var/lib/bind -RUN mkdir -p /var/log/bind && chown bind:bind /var/log/bind && chmod 755 /var/log/bind -RUN mkdir -p /run/named && chown bind:bind /run/named && chmod 755 /run/named +RUN mkdir -p /etc/bind +RUN mkdir -p /var/cache/bind +RUN mkdir -p /var/lib/bind +RUN mkdir -p /var/log/bind +RUN mkdir -p /run/named VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log"] CMD ["/opt/run.sh"] -EXPOSE ["53/udp", "53/tcp", "953/tcp"] \ No newline at end of file +EXPOSE 53/udp 53/tcp 953/tcp \ No newline at end of file