|
@@ -12,7 +12,7 @@ RUN CGO_ENABLED=1 go build
|
|
|
|
|
|
FROM alpine:3.10
|
|
|
|
|
|
-WORKDIR /root/
|
|
|
+WORKDIR /
|
|
|
COPY --from=builder /go/src/github.com/joohoi/acme-dns .
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
|
RUN mkdir -p /etc/acme-dns && mkdir -p /var/lib/acme-dns && mkdir /etc/letsencrypt \
|
|
@@ -27,4 +27,4 @@ RUN mkdir -p /etc/acme-dns && mkdir -p /var/lib/acme-dns && mkdir /etc/letsencry
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
EXPOSE 53
|
|
|
EXPOSE 53/udp
|
|
|
-CMD ["./acme-dns" "-c" "/pki/iru/wild/acme-dns/infoclinica.ru.config.cfg"]
|
|
|
+CMD ["./acme-dns" "-c" "/root/pki/iru/wild/acme-dns/infoclinica.ru.config.cfg"]
|