This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
icydns/Dockerfile

21 lines
318 B
Docker

FROM alpine:latest
RUN apk add --no-cache nodejs npm bind bind-tools
WORKDIR /icydns
COPY package*.json ./
RUN npm install --only production
COPY dist/ ./dist/
RUN mkdir /rndc
RUN mkdir /zones
ENV RNDC_KEYFILE="/rndc/rndc.key"
ENV ZONEFILES="/zones"
VOLUME /zones
VOLUME /rndc
EXPOSE 9129
CMD [ "npm", "start" ]