1
0
Fork 0
mirror of https://github.com/Luzifer/dns.git synced 2024-12-22 19:01:20 +00:00
dns/Dockerfile

21 lines
308 B
Text
Raw Permalink Normal View History

2018-01-30 22:26:44 +00:00
FROM alpine
LABEL maintainer Knut Ahlers <knut@ahlers.me>
COPY build.sh /src/
COPY requirements.txt /src/
2018-01-30 22:26:44 +00:00
RUN set -ex \
&& apk --no-cache add bash \
&& /src/build.sh
COPY . /src
WORKDIR /src
EXPOSE 53/udp 53
2018-01-30 22:26:44 +00:00
VOLUME ["/src/zones"]
ENTRYPOINT ["/src/docker-entrypoint.sh"]
CMD ["named", "-g"]