Владимир Томишинец 5 年之前
父節點
當前提交
3b5140867c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -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"]