This commit is contained in:
@@ -8,9 +8,6 @@ RUN apk add --no-cache knot knot-utils bash git openssh-client-default
|
|||||||
# Create distribution directories for config templates
|
# Create distribution directories for config templates
|
||||||
RUN mkdir -p /etc/knot-dist /var/lib/knot-dist
|
RUN mkdir -p /etc/knot-dist /var/lib/knot-dist
|
||||||
|
|
||||||
VOLUME /etc/knot
|
|
||||||
VOLUME /var/lib/knot
|
|
||||||
|
|
||||||
COPY knot.conf /etc/knot-dist/
|
COPY knot.conf /etc/knot-dist/
|
||||||
COPY my-dnssec-test-domain.de.zone /var/lib/knot-dist/
|
COPY my-dnssec-test-domain.de.zone /var/lib/knot-dist/
|
||||||
COPY start.sh /usr/local/bin/start.sh
|
COPY start.sh /usr/local/bin/start.sh
|
||||||
@@ -21,6 +18,8 @@ RUN chmod +x /usr/local/bin/start.sh
|
|||||||
USER knot
|
USER knot
|
||||||
|
|
||||||
WORKDIR /var/lib/knot
|
WORKDIR /var/lib/knot
|
||||||
|
VOLUME /etc/knot
|
||||||
|
VOLUME /var/lib/knot
|
||||||
|
|
||||||
EXPOSE 8053
|
EXPOSE 8053
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user