Владимир Томишинец 5 years ago
parent
commit
3b5140867c
1 changed files with 2 additions and 2 deletions
  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"]